|
| does anyone knows the UNIX command to find last server reboot? | |
| |
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
| |
| |
| that worked!!!! thanks! | |
| |
| One more thing...
that worked for SCO Unix 5.0XXX... I also have AT+T Unix here... and uptime command doesn't work there.. | |
| |
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
| |
| |
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
| |
| |
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? | |
|
Seconds to generate: 0.156 - Cached queries : 60 - Executed queries : 10
| | |
|