Difference between revisions of "Shutdown"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
* <code>[[virsh shutdown]]</code>
 
* <code>[[virsh shutdown]]</code>
 
* <code>[[udisksctl power-off]]</code>
 
* <code>[[udisksctl power-off]]</code>
 +
* <code>[[no shutdown]]</code>
 
* <code>[[last]] reboot</code>, <code>[[last]] [[shutdown]]</code>
 
* <code>[[last]] reboot</code>, <code>[[last]] [[shutdown]]</code>
 
  systemd-update-utmp [[reboot]]
 
  systemd-update-utmp [[reboot]]

Revision as of 06:08, 9 February 2021

This article is a Draft. Help us to complete it.
grep -iv ': starting\|kernel: .*: Power Button\|watching system buttons\|Stopped Cleaning Up\|Started Crash recovery kernel' /var/log/syslog | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'
grep -iv ': starting\|kernel: .*: Power Button\|watching system buttons\|Stopped Cleaning Up\|Started Crash recovery kernel' /var/log/messages /var/log/syslog /var/log/apcupsd* | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'


Related commands

systemd-update-utmp reboot
systemd-update-utmp shutdown

See also

Advertising: