How to check when the Ubuntu server was rebooted?

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

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

last | grep reboot

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
  • who -b
  • uptime
  • last reboot
  • ll /var/log/ | grep boot.log

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like