This article will teach you how to check the last reboot time on a Linux or UNIX server (this will also work for Mac OSX). This can be useful for many things.
N.B Visit www.campusflava.com for other updates
Steps
1
Open up a command line interface.
2
Type in "uptime" (without the quotes) and hit enter.
3
Read the output. A sample one: 22:26:32 up 53 min, 2 users, load average: 0.22, 0.23, 0.28 This means that it has been 53 minutes since the last reboot.
Tips
On Linux servers, you can alternatively type "who -b" and it will tell you the exact time of the last reboot. This can be useful if you want to know the when the last reboot was made, instead of how long ago the last reboot time was which can be very useful if you don't want to take the current time and subtract 6 days, 2 hours, 5 minutes 45 seconds.
This may not be available on all UNIX/Mac servers.
No comments:
Post a Comment