Re: How to check for scheduled shutdown
- To: debian-user@lists.debian.org
- Subject: Re: How to check for scheduled shutdown
- From: Kamil Jońca <kjonca@o2.pl>
- Date: Tue, 22 Nov 2022 20:18:31 +0100
- Message-id: <[🔎] 87h6yqztko.fsf@alfa.kjonca>
- In-reply-to: <FuAzv-5wIk-7@gated-at.bofh.it> (Urs Thuermann's message of "Tue, 22 Nov 2022 13:30:01 +0100")
- References: <FuAzv-5wIk-7@gated-at.bofh.it>
Urs Thuermann <urs@isnogud.escape.de> writes:
> After shutdown -h <time> I see no way to see this scheduled shutdown.
> Before systemd, I could always see the shutdown process with its
> arguments using ps(1).
Hm.
kjonca@alfa:~%man shutdown
SHUTDOWN(8) shutdown SHUTDOWN(8)
NAME
shutdown - Halt, power off or reboot the machine
[...]
OPTIONS
[...]
--show
Show a pending shutdown action and time if there is any.
kjonca@alfa:~%sudo shutdown --show
No scheduled shutdown.
Am I overlooked something?
--
http://wolnelektury.pl/wesprzyj/teraz/
Reply to: