Linux command
systemctl-freeze 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Freeze
systemctl freeze unit_name
Example
systemctl freeze unit1 unit2
Example
systemctl freeze '*'
说明
systemctl freeze freezes one or more units using the cgroup freezer. Frozen units have all their processes suspended and cannot be scheduled until thawed. This is useful for temporarily pausing services without stopping them.
参数
- PATTERN
- One or more unit names or patterns to freeze
FAQ
What is the systemctl-freeze command used for?
systemctl freeze freezes one or more units using the cgroup freezer. Frozen units have all their processes suspended and cannot be scheduled until thawed. This is useful for temporarily pausing services without stopping them.
How do I run a basic systemctl-freeze example?
Run `systemctl freeze unit_name` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does PATTERN do in systemctl-freeze?
One or more unit names or patterns to freeze