x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

UNIX command to find last server reboot...

Evgeneyw
Evgeneyw Page Icon Posted 2006-10-19 6:34 PM
#
Status:
does anyone knows the UNIX command to find last server reboot?
 Top of the page
PocketDVD Page Icon Posted 2006-10-19 7:19 PM
#
Avatar image of PocketDVD
H/PC Philosopher

Posts:
363
Location:
Canada
Status:
what about uptime? that should give you an indication on how long the server has been running since last boot
 Top of the page
Evgeneyw
Evgeneyw Page Icon Posted 2006-10-19 7:27 PM
#
Status:
that worked!!!! thanks!
 Top of the page
Evgeneyw
Evgeneyw Page Icon Posted 2006-10-19 7:32 PM
#
Status:
One more thing...
that worked for SCO Unix 5.0XXX... I also have AT+T Unix here... and uptime command doesn't work there..
 Top of the page
PocketDVD Page Icon Posted 2006-10-19 8:22 PM
#
Avatar image of PocketDVD
H/PC Philosopher

Posts:
363
Location:
Canada
Status:
google for it. It should be a standard command in all UNIX versions.

this might help as well

http://www.async.elen.utah.edu/~yzhao/UnixCommand01.htm
 Top of the page
rlw Page Icon Posted 2006-10-19 9:34 PM
#
Avatar image of rlw
Factorite (Elite)

Posts:
129
Location:
Ohio, USA
Status:
Man... it's been a long time since I used AT&T Unix -- if I remember correctly, there's a bootlog somewhere in /usr/spool -- I think it's in the same directory with the syslog file -- try man syslog, that may tell you where the file lives.

I'm fairly certain that the uptime command is a later addition, not in AT&T Unix (I'm assuming you're running System V).

RLW
 Top of the page
sophisticatedleaf Page Icon Posted 2006-10-22 2:52 AM
#
Avatar image of sophisticatedleaf
H/PC Elder

Posts:
2,294
Location:
Sunny California
Status:
Well, it sure seems to be on all Linux distributions. Just curious, what is this for?
 Top of the page
Jump to forum:
Seconds to generate: 0.156 - Cached queries : 60 - Executed queries : 10