Tux_FlickFlack

hostnamectl; # tested on
Chassis: vm 🖴
Virtualization: kvm
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-18-amd64
Architecture: x86-64
# clean shutdowns
last -3 reboot shutdown
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 12:08   still running <- current boot
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 11:28 - 11:28  (00:00) <- was booted at this time
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 08:03 - 08:42  (00:39) <- was booted at this time

# last shutdown was unclean
last -3 reboot shutdown
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 12:10   still running <- current boot
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 12:08   still running <- last boot marked "still running"
reboot   system boot  6.1.0-18-amd64   Wed Mar 13 11:28 - 11:28  (00:00)

# "still running" of last boot indicates unclean system shutdown

# might also be helpful to have
apt install inetutils-syslogd

 

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin