HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl freeze — Freeze one or more units. Frozen units can be resumed with `systemctl thaw`. More information: <http

Submitted by: @import:tldr-pages··
0
Viewed 0 times
unitsfreezesystemctl freezecommandfrozenclimoreone
linux

Problem

How to use the systemctl freeze command: Freeze one or more units. Frozen units can be resumed with systemctl thaw. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#freeze%20PATTERN%E2%80%A6>.

Solution

systemctl freeze — Freeze one or more units. Frozen units can be resumed with systemctl thaw. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#freeze%20PATTERN%E2%80%A6>.

Freeze a specific unit:
systemctl freeze {{unit}}


Freeze multiple units:
systemctl freeze {{unit1 unit2 ...}}


Freeze all running units:
systemctl freeze '*'

Code Snippets

Freeze a specific unit

systemctl freeze {{unit}}

Freeze multiple units

systemctl freeze {{unit1 unit2 ...}}

Freeze all running units

systemctl freeze '*'

Context

tldr-pages: linux/systemctl freeze

Revisions (0)

No revisions yet.