Linux command
systemctl-hybrid-sleep 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
systemctl hybrid-sleep
Force
systemctl hybrid-sleep -f
Example
systemctl hybrid-sleep --no-wall
说明
systemctl hybrid-sleep puts the system into hybrid sleep, which combines suspend-to-RAM and hibernate. The system state is saved to both RAM and disk, then the system enters low-power suspend mode. If power is maintained, the system wakes quickly from RAM. If power is lost, the system can still recover from the hibernation image on disk. This provides the best of both worlds at the cost of longer sleep time.
参数
- -f, --force
- Force sleep even if inhibitors are present
- --no-wall
- Don't send wall message to logged-in users
FAQ
What is the systemctl-hybrid-sleep command used for?
systemctl hybrid-sleep puts the system into hybrid sleep, which combines suspend-to-RAM and hibernate. The system state is saved to both RAM and disk, then the system enters low-power suspend mode. If power is maintained, the system wakes quickly from RAM. If power is lost, the system can still recover from the hibernation image on disk. This provides the best of both worlds at the cost of longer sleep time.
How do I run a basic systemctl-hybrid-sleep example?
Run `systemctl hybrid-sleep` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --force do in systemctl-hybrid-sleep?
Force sleep even if inhibitors are present