wtmp does not include the shutdown time
According to http://www.cyberciti.biz/faq/shutdown-linux-server/, if we run ‘last’ we should be able to see the shutdown events.
Submitted on 11 March 2011 at 10:58
Issue Log
On 11 March 2011 at 11:02 Eelco Dolstra commented:
“last -x” does show shutdowns:
[eelco@disabn:~]$ last -x shutdown shutdown system down 2.6.32.29 Mon Mar 7 17:49 - 17:49 (00:00) shutdown system down 2.6.32.29 Sun Feb 27 13:46 - 13:47 (00:00) shutdown system down 2.6.32.29 Sun Feb 27 13:30 - 13:33 (00:02) wtmp begins Sun Feb 27 12:56:46 2011
On 11 March 2011 at 11:02 Eelco Dolstra closed this issue.
Log in to post comments