Check the Last Reboot Time on a Server

Revision as of 09:50, 26 November 2015 by Kipkis (Kipkis | contribs) (importing article from wikihow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

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.