How Can I Tell Who Rebooted a Linux Server?
Contents

3 Answers. You can use ” last ” to check. It shows when was the system rebooted and who were logged-in and logged-out. If your users have to use sudo to reboot the server then yo should be able to find who did it by looking in the relevant log file.

Which user rebooted the server?

To quickly and easily identify who rebooted Windows Server follow these simple steps: Login to Windows Server. Launch the Event Viewer (type eventvwr in run). In the event viewer console expand Windows Logs.

How can I tell when a Linux server was rebooted?

How to View Linux System Reboot Date and Time

  1. Last command. Use the ‘last reboot’ command, which will display all the previous reboot date and time for the system. …
  2. Who command. Use the ‘who -b’ command which displays the last system reboot date and time. …
  3. Use the perl code snippet.

7 окт. 2011 г.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest