I know that very few of you are looking at the amprgw router statistics, but for those who do care: the current statistics (packet/byte counts) accumulate since router boot time. Would it be more helpful/meaningful if the totals reset at midnight so that they reflect daily trends?
Also, some of the numbers are getting large enough that they're not intuitively meaningful. There's no convenient way to insert thousands separators. Would 'scientific notation' (eg, 1.56e9) be helpful? (This is the 'g' format specifier in 'C'.) Or alternatively, notation such as 1.5k, 2.4M, 8.1G, or 1.2T could possibly be generated. - Brian
What would be awesome would be daily logrotate'ed files, perhaps with a month of history.
Michael
-----Original Message----- From: 44Net [mailto:44net-bounces+n6mef=mefox.org@hamradio.ucsd.edu] On Behalf Of Brian Kantor Sent: Saturday, May 13, 2017 5:24 AM To: 44net@hamradio.ucsd.edu Subject: [44net] router stats
(Please trim inclusions from previous messages) _______________________________________________ I know that very few of you are looking at the amprgw router statistics, but for those who do care: the current statistics (packet/byte counts) accumulate since router boot time. Would it be more helpful/meaningful if the totals reset at midnight so that they reflect daily trends?
Also, some of the numbers are getting large enough that they're not intuitively meaningful. There's no convenient way to insert thousands separators. Would 'scientific notation' (eg, 1.56e9) be helpful? (This is the 'g' format specifier in 'C'.) Or alternatively, notation such as 1.5k, 2.4M, 8.1G, or 1.2T could possibly be generated.
- Brian
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Good idea. I can easily rotate the stats file at midnight. But should the counters reset to zero at midnight? - Brian
On Sat, May 13, 2017 at 06:17:16AM -0700, Michael Fox - N6MEF wrote:
What would be awesome would be daily logrotate'ed files, perhaps with a month of history.
Michael
Ok, from now on, the router stats file written at 23:45 will be moved at 23:59 to /private/stats.yymmdd.txt, and kept for 31 days. For example, /private/stats.170513.txt
The current stats file, updated every quarter hour, is still /private/stats.txt
But should the counters reset to zero at midnight? - Brian
On Sat, May 13, 2017 at 07:17:17AM -0700, Brian Kantor wrote:
Good idea. I can easily rotate the stats file at midnight. But should the counters reset to zero at midnight?
- Brian
On Sat, May 13, 2017 at 06:17:16AM -0700, Michael Fox - N6MEF wrote:
What would be awesome would be daily logrotate'ed files, perhaps with a month of history. Michael
IMNVHO...
If daily logs, then consistently daily counters too.
Best regards.
I prefer M ,G k rather then 1e6
as for reboot if trafic will be for a 24 Hours period for me its quiet good
i just dont know the password...
Ronen - 4Z4ZQ
Ronen Pinchooks (4Z4ZQ) WebSitehttp://www.ronen.org/ www.ronen.org ronen.org (Ronen Pinchooks (4Z4ZQ) WebSite) is hosted by domainavenue.com
________________________________
_______________________________________________
as 1.5k, 2.4M, 8.1G, or 1.2T could possibly be generated. - Brian _________________________________________ 44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Well, I took it as a challenge to humanize the numbers, so they now print as 123,456,789 with commas. I realize lots of cultures use '.' instead for ',' but I'm in the USA so I use that standard. And spaces (123 456 789) looked confusing. There's no universal standard. - Brian
On Sat, May 13, 2017 at 03:25:24PM +0000, R P wrote:
I prefer M ,G k rather then 1e6
Brian.
Belows checked on my smartphone and desktop PC.
I can access http://gw.ampr.org/private/* _ONLY_ from Internet.
From the moment I assign 44-net address site is not reachable at all.
Yesterday it was different. Something changed?
Best regards.
Nothing has changed with the web server that I know of. Is anyone else having problems? - Brian
On Sat, May 13, 2017 at 06:04:12PM +0200, SP2L wrote:
Belows checked on my smartphone and desktop PC. I can access http://gw.ampr.org/private/* _ONLY_ from Internet. From the moment I assign 44-net address site is not reachable at all. Yesterday it was different. Something changed?
It looks like I had some trouble with the firewall. Clearing and reloading it seems to have fixed things. Please try again. - Brian
On Sat, May 13, 2017 at 06:04:12PM +0200, SP2L wrote:
(Please trim inclusions from previous messages) _______________________________________________ Brian.
Belows checked on my smartphone and desktop PC.
I can access http://gw.ampr.org/private/* _ONLY_ from Internet.
From the moment I assign 44-net address site is not reachable at all.
Yesterday it was different. Something changed?
Best regards.
-- Tom - SP2L
Brian.
No changes yet... From Internet, site is accessible, but not from within 44-network.
Best regards.
Brian.
My IP is 44.165.2.2 But I tried also from 44.139.11.30 with exactly same result.
Verified also from remote computer with different IPS (IP - 95.160.153.144)
Best regards.
No need to pollute the mailing list; I'll continue this thread by private email. - Brian
On Sat, May 13, 2017 at 06:31:31PM +0200, SP2L wrote:
My IP is 44.165.2.2 But I tried also from 44.139.11.30 with exactly same result.
Verified also from remote computer with different IPS (IP - 95.160.153.144)