|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
uptime command - #days field meaning
When the uptime command is issued, does the #days reflect the number of days since last reboot/powercycle? I have a server that says 925 days and I know it isn't that long.
|
|
#2
|
|||
|
|||
|
I could be wrong but I believe its #of days since (re)boot.
to find last time boot use who -b |
|
#3
|
|||
|
|||
|
Who -b said Aug 20 and uptime says 926 days. One article seemed to indicate it might be the number of days its been up, not since the last reboot.
I'm confused. |
|
#4
|
|||
|
|||
|
Quote:
which Aug ? an other way is last reboot ¦ head -1 (or 'more' instead of 'head')
__________________
working on Solaris[5-9], preferred languages french and C. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > uptime command - #days field meaning |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|