We can figure out what caused the reboot in a few different ways. We'll go through those methods in this post, as well as how to use accessible programs and logs on a Linux system to debug such issues.
Inspect Reboot Time You can check when the system reboot happened with who and last commands Check System Messages You can further correlate the reboot you want to diagnose with system messages. As can be inferred from the below logs, such entries suggest a shutdown/reboot initiated by an administrator or root user. These messages can vary depending upon OS type and the way reboot/shutdown is triggered but you will always find useful information by looking at system logs though it may not be explicit enough to pin-point the cause every time.
Looking to develop real-time applications? **[Hire Dedicated Linux Developer](https://hourlydeveloper.io/hire-dedicated-linux-developer/ "Hire Dedicated Linux Developer")** from **[HourlyDeveloper.io](https://hourlydeveloper.io/...
The server can be rebooted or shut down in a variety of ways on a Linux system. A healthy system should reply to any command, however a degraded server may require a hard reboot.
This article is all about my journey on switching from Windows 10 to Linux Mint 20, how I got easily adapted to the Linux environment, and some resources that helped me to set up a perfect Desktop environment.
User Administration in Linux - Linux Tutorial - Linux Training
Package Management in Linux - Linux Tutorial - Linux Training