Как я могу подтвердить, что успешно отключил режим сна и спящего режима на машине Ubuntu 16.04 из CLI?
У меня есть доступ к машине через SSH, поэтому у меня нет GUI.
Я запустил следующее:
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Есть ли способ получить настройки sleep / suspend / hibernate из CLI?
Я считаю, что путь показан ниже:
sudo systemctl status sleep.target
sudo systemctl status suspend.target
sudo systemctl status hibernate.target
sudo systemctl status hybrid-sleep.target
Информация:
man systemd.special 7
Я считаю, что путь показан ниже:
sudo systemctl status sleep.target
sudo systemctl status suspend.target
sudo systemctl status hibernate.target
sudo systemctl status hybrid-sleep.target
Информация:
man systemd.special 7