This article will teach you how to learn the last reboot time on a Linux or UNIX server(This will also work for Mac OSX). This can be useful for many things.
Edit Steps
- 1Open up a command line interface.
- 2Type in "uptime" (without the quotes and hit enter)
- 3Read 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
Edit 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.
Articles for You to Write
Article Info
Last edited:
November 24, 2011 by Byankno1
Categories:
Computers and Electronics | Networking