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 2 [3]

Author Topic: rs-ux and rs-w v0.9 released  (Read 9073 times)

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27732
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.9 released
« Reply #30 on: September 18, 2012, 09:43:24 PM »

Quote
. . . the second number is the sum of the idle time accumulated by each CPU

It's so simple once it has been explained.  ;)  Thank you.  :)
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39518
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.9 released
« Reply #31 on: September 19, 2012, 08:09:08 AM »

Quote
It's so simple once it has been explained.

It is indeed. We're learning all the time.

In the version of /proc/uptime which you posted, the format was different to the single line with two figures which I found on the routers I checked, but it does look as though the first number returned is probably always the system uptime, and that's the only number I need.
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27732
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.9 released
« Reply #32 on: September 19, 2012, 10:24:43 PM »

Quote
the first number returned is probably always the system uptime

Very precisely/pedantically it is the "uptime" of the Linux kernel. When one is dealing with a SOC device, such as a modem/router, it will show the elapsed time since the device was powered-on or was re-booted -- whichever event was the most recent.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39518
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.9 released
« Reply #33 on: September 19, 2012, 10:33:07 PM »

Quote
Very precisely/pedantically it is the "uptime" of the Linux kernel.

You're right of course, but from the point of view of a user of this program, a bit over-pedantic perhaps? :)
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27732
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.9 released
« Reply #34 on: September 19, 2012, 10:36:46 PM »

Just ensuring we appreciate that it is the physical device uptime and not the xDSL link uptime.  :graduate:
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

rhohne

  • Member
  • **
  • Posts: 76
Re: rs-ux and rs-w v0.9 released
« Reply #35 on: September 19, 2012, 10:43:49 PM »

In the version of /proc/uptime which you posted, the format was different to the single line with two figures which I found on the routers I checked

The output looks correct for the two commands issued.
Logged

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: rs-ux and rs-w v0.9 released
« Reply #36 on: September 19, 2012, 10:50:24 PM »

Mysteriously, when I checked this (albeit in the wee hours, so maybe didn't look very carefully),  i was sure that /proc/uptime wasn't present in the HG612 filesystem.  Which is why that alternative (btime in /proc/stat) was sought.   Why could that be?  Bald_Eagle reported other problems  of not being able to get a time sync with ntp, due to the lack of a WAN-side IP4/6 route, when the HG612 is configured for a default ethernet bridge.  Could that be related?

cheers, a
« Last Edit: September 19, 2012, 11:18:36 PM by asbokid »
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27732
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.9 released
« Reply #37 on: September 19, 2012, 11:08:38 PM »

This is what I see, using a HG612 on an ADSL2+ enabled line --

Quote
[bcat@Duo2 ~]$ telnet 192.168.1.254
Trying 192.168.1.254...
Connected to 192.168.1.254.
Escape character is '^]'.

Welcome Visiting Huawei  Home Gateway
Copyright by Huawei Technologies Co., Ltd.
Login:admin
Password:
ATP>shell


BusyBox v1.9.1 (2010-10-15 17:59:06 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ls /proc
24247        203          135          19           devices      tty
24246        202          134          5            cpuinfo      bus
24245        195          133          4            partitions   brcm
660          193          132          3            stat         sys
639          148          131          2            interrupts   irq
631          147          130          1            slabinfo     misc
619          146          129          self         klobinfo     ioports
549          145          128          loadavg      buddyinfo    iomem
535          144          127          uptime       vmstat       timer_list
533          143          116          meminfo      zoneinfo     kallsyms
531          142          101          version      diskstats    crypto
525          141          59           filesystems  modules      mtd
312          140          49           cmdline      kcore        fcache
310          139          35           locks        net          pktcmf
278          138          34           execdomains  sysvipc      switch
277          137          33           mounts       fs           mii
204          136          32           kmsg         driver
# cat /proc/uptime
2604989.60 2604090.02
#
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

asbokid

  • Kitizen
  • ****
  • Posts: 1286
    • Hacking the 2Wire
Re: rs-ux and rs-w v0.9 released
« Reply #38 on: September 19, 2012, 11:19:29 PM »

yeah, thanks b*cat. It's definitely there now. Perhaps it always was! Hmm..

cheers, a
Logged
Pages: 1 2 [3]