21

I need to know when my server was rebooted? I only see my last login when I login.

Where is this info stored?

3 Answers 3

32

You can use last to see login information. To know about system reboot, enter in a terminal,

last | grep reboot
13

You can run the uptime command from the console to see how long the server has been running. This will give the total amount of time since the last reboot.

1
  • 1
    thank you, funny that I didn't know that command yet. Happy that I now added it to my brain hard drive
    – Private
    Apr 2, 2014 at 20:01
7
  • who -b
  • uptime
  • last reboot
  • ll /var/log/ | grep boot.log

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.