On 2022-11-22 20:18 +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?

Perhaps that the --show option was only added in systemd 250 and is not
available in Bullseye and older Debian releases.

Cheers,
       Sven

Reply via email to