I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find these details. Could someone help me out?
Asked
Active
Viewed 3.6k times
2 Answers
3
For a GUI method you can use hardinfo
as described here: Does Ubuntu have a "device manager" equivalent? And what is an easy way to access USB drives?.
Under the section Boots
you will see this:
Installation is straight forward using:
sudo apt install hardinfo

WinEunuuchs2Unix
- 102,282
-
-
@VadimKotov When you type
hardinfo
from the command line do you see errors as in this bug report? https://bugs.launchpad.net/ubuntu/+source/hardinfo/+bug/1473142 – WinEunuuchs2Unix Feb 03 '20 at 11:40 -
Nope, it displays only this:
Gtk-Message: 17:54:10.696: Failed to load module "canberra-gtk-module"
– Vadim Kotov Feb 03 '20 at 14:55
/etc/default/bootlogd
on my Ubuntu 16.04.2 – Vadim Kotov Oct 24 '17 at 14:58