--freezer option to /bin/restart

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Sat Mar 27 12:14:53 PDT 2010


The help message for --freezer=CGROUP option says:

	freeze tasks in freezer group CGROUP on success

and if this option specifies an existing cgroup, then (and only
then) is the RESTART_FROZEN flag to sys_restart() set.

Does the --freezer option have to specify an existing cgroup ?

Is there a way to specify that the restarted application belong
to a new (yet-to-be created) cgroup AND to leave the application
FROZEN after restart ? Or would we need a new command line option
and field in 'struct app_restart_args' to specify this ?

Thanks,

Sukadev


More information about the Containers mailing list