Lines Matching refs:cgroup

1 The cgroup freezer is useful to batch job management system which start
5 whole. The cgroup freezer uses cgroups to describe the set of tasks to
9 The cgroup freezer will also be useful for checkpointing running groups
11 image of the tasks by attempting to force the tasks in a cgroup into a
47 In contrast, the cgroup freezer uses the kernel freezer code to
52 The cgroup freezer is hierarchical. Freezing a cgroup freezes all
53 tasks belonging to the cgroup and all its descendant cgroups. Each
54 cgroup has its own state (self-state) and the state inherited from the
55 parent (parent-state). Iff both states are THAWED, the cgroup is
58 The following cgroupfs files are created by cgroup freezer.
62 When read, returns the effective state of the cgroup - "THAWED",
64 If any is freezing, the cgroup is freezing (FREEZING or FROZEN).
66 FREEZING cgroup transitions into FROZEN state when all tasks
67 belonging to the cgroup and its descendants become frozen. Note that
68 a cgroup reverts to FREEZING from FROZEN after a new task is added
69 to the cgroup or one of its descendant cgroups until the new task is
72 When written, sets the self-state of the cgroup. Two values are
73 allowed - "FROZEN" and "THAWED". If FROZEN is written, the cgroup,
77 If THAWED is written, the self-state of the cgroup is changed to
79 the parent-state is still freezing. If a cgroup's effective state
81 the cgroup also leave the freezing state.
90 Shows the parent-state. 0 if none of the cgroup's ancestors is
93 The root cgroup is non-freezable and the above interface files don't
98 # mkdir /sys/fs/cgroup/freezer
99 # mount -t cgroup -ofreezer freezer /sys/fs/cgroup/freezer
100 # mkdir /sys/fs/cgroup/freezer/0
101 # echo $some_pid > /sys/fs/cgroup/freezer/0/tasks
105 # cat /sys/fs/cgroup/freezer/0/freezer.state
110 # echo FROZEN > /sys/fs/cgroup/freezer/0/freezer.state
111 # cat /sys/fs/cgroup/freezer/0/freezer.state
113 # cat /sys/fs/cgroup/freezer/0/freezer.state
118 # echo THAWED > /sys/fs/cgroup/freezer/0/freezer.state
119 # cat /sys/fs/cgroup/freezer/0/freezer.state