sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"
Which command does xfce use when I click the suspend button?
> Guerlan:
>
>> I'm following https://wiki.ubuntu.com/DebuggingKernelSuspend to debug
>> kernel suspend problems. However, on dom0 there's no pm-suspend command.
>>
>> How can I install SECURELY this command or how to substitute for another
>> one?
>>
>> This is the command:
>>
>> sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"
>>
>> Which command does xfce use when I click the suspend button?
>
> Try systemctl suspend.
If that doesn't work, there's also `echo mem > /sys/power/state`