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?
Solution 1:
You can use last
to see login information. To know about system reboot, enter in a terminal,
last | grep reboot
Solution 2:
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.
Solution 3:
who -b
uptime
last reboot
ll /var/log/ | grep boot.log