How do I find out what caused a reboot in Linux?

How do I find out what caused a reboot in Linux?
Answer
You can further correlate the reboot you want to diagnose with system messages. For CentOS/RHEL systems, you’ll find the logs at /var/log/messages while for Ubuntu/Debian systems, its logged at /var/log/syslog . You can simply use the tail command or your favorite text editor to filter out or find specific data.
 

Tìm kiếm

Back
Top