Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 6 7 [8]

Author Topic: DSLstats v6.5 released  (Read 22687 times)

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #105 on: October 12, 2019, 06:50:51 PM »

The "Total time =..." figure is (or was) unreliable. In all of the Broadcom firmware versions until recently this figure used to rise to 1 day 23 hours 59 minutes 59 seconds and then go back to 1 day, and continue this cycle for ever. The figure near the end of the stats "Since link time =..." has always stopped at a time I don't remember, but was 60-odd days, and it stayed there for ever after.

So DSLstats now uses the available seconds (AS) figure which has been reliable for a long time. From what you say, it appears that it's no longer reliable.
Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5915
Re: DSLstats v6.5 released
« Reply #106 on: October 12, 2019, 10:03:41 PM »

AS seems to be working fine still for the dsl uptime, dsl uptime still works.
The modem uptime is now what is broken.

I can confirm tho that on my device the total time is not capped to 2 days. So that should work as a means to measure the modem uptime.

So...

"since link time" or "AS" both should be fine for dsl uptime (so keep that as is).
"total time", useable for modem uptime on the zyxel 3925-b10b.  Before I flashed this correctly showed uptime in excess of 200 days.

Code: [Select]
Total time = 212 days 6 hours 36 min 32 sec
FEC:            176459          1601
CRC:            6451            121
ES:             62343           7273
SES:            70              1
UAS:            145             114
LOS:            3               0
LOF:            17              0
LOM:            0               0
Retr:           3

also the good old "uptime" command seems valid as well.

Code: [Select]
# uptime
 18:35:41 up 18:35,  load average: 0.29, 0.29, 0.31
« Last Edit: October 12, 2019, 10:08:46 PM by Chrysalis »
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #107 on: October 12, 2019, 10:31:01 PM »

Sorry, I didn't read your question properly. DSLstats gets the modem uptime from the busybox command

cat /proc/uptime

Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5915
Re: DSLstats v6.5 released
« Reply #108 on: October 13, 2019, 12:06:32 AM »

interesting how it says not available now, does the output I provided look correct?
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #109 on: October 13, 2019, 07:42:55 AM »

If I use "man uptime" on one of my Linux systems I see this:

Quote
uptime  gives a one line display of the following information.  The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and  15  minutes.

which seems to match your figures except for the number of users part. If I'd known that the uptime command existed in the Broadcom busybox shell I would have used it in DSLstats.

The command "cat /proc/uptime" gives two numbers, the first of which is the number of seconds the system has been running, and should match the uptime result. Here's what I see on my VMG8324-B10A:

Code: [Select]
> cat /proc/uptime
242032.79 0.00
 > uptime
2D 19H 14M 6S

Clearly these commands have changed in recent versions of the Broadcom firmware.
Logged
  Eric

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5915
Re: DSLstats v6.5 released
« Reply #110 on: October 13, 2019, 08:52:43 AM »

I apologise, here is the output for the /proc/uptime, I didnt read what you said properly when you said its using /proc/uptime sorry.

Code: [Select]
105582.07 202052.63
also dilemma solved, the command seems ok on root, but I gave dslstats the admin username instead and cat /proc/uptime doesnt work on that login.  It did on the older firmware, but its just a change of username so shouldnt be a problem.  Now dslstats is using root its showing again :)
« Last Edit: October 13, 2019, 08:58:57 AM by Chrysalis »
Logged
AAISP - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39510
  • Penguins CAN fly
    • DSLstats
Re: DSLstats v6.5 released
« Reply #111 on: October 13, 2019, 10:35:58 AM »

Thank you for resolving that.
Logged
  Eric
Pages: 1 ... 6 7 [8]