PDA

View Full Version : [all variants] last uptime



razy8
November 22nd, 2008, 12:43 PM
Hello, can anyone tell me how to get/calculate the last uptime ?

brujoand
November 22nd, 2008, 12:45 PM
Last as in before the resent reboot or as in right now?
The latter is just uptime, (typed in a console).
For the first I guess you could check /var/log/syslog to calculate the previous uptime..

Anders

razy8
November 22nd, 2008, 01:23 PM
I forgot about the syslog, thanks

Dr Small
November 22nd, 2008, 03:09 PM
I use uptimed for that. Just install uptimed, then run:

uprecords