I like to use shutdown -h TIME/+DELAY
sometimes. However, since the switch to systemd (on Ubuntu), things seem to have changed quite a bit.
Apart from the fact that a previous shutdown command no longer prevents running a new one, I can't figure out how to check for the planned shutdown time of a current shutdown process.
I used to just run ps aux | grep shutdown
to see the planned shutdown time.
Now with systemd it just shows something like this:
root 5863 0.0 0.0 13300 1988 ? Ss 09:04 0:00 /lib/systemd/systemd-shutdownd
How can I check the scheduled shutdown time of such a process?
I tried shutdown -k
, but instead of only writing a wall message, it seems to also change the scheduled shutdown time to now+1 minute.
Best Answer
Most simple: (and working on Debian/Ubuntu)