On Tue, Nov 22, 2022 at 08:18:31PM +0100, Kamil Jońca wrote: > Urs Thuermann <u...@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?
Ah, this one, again, from the systemd side... Although, on the SysV side one could try to limp along with something like sudo cat /proc/$(cat /var/run/shutdown.pid)/cmdline :-) (Now the explicit path of shutdown's PID might be in itself a Debianism) Cheers -- t
signature.asc
Description: PGP signature