Show Table of Contents
3.6. freezer
freezer 子系統可中止或復原控制群組中的工作。
- freezer.state
freezer.state能擁有三個不同的值:FROZEN— 控制群組中的工作將被中止。FREEZING— 系統正在中止控制群組中的工作。THAWED— 控制群組中的工作已復原。
要暫停某個特定的程序:
- 將該程序移動到擁有
freezer子系統所連接之層級的 cgroup 裡。 - 凍結該特定的 cgroup,以暫停其中的程序。
把程序移動到以暫停(凍結)的 cgroup 是不可能的。
請注意,
FROZEN 和 THAWED 這兩個值可寫入 freezer.state,FREEZING 則是唯讀,無法寫入。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.