* Jan Safranek <[email protected]> [2010-10-11 16:07:42]:
> On 10/11/2010 02:26 PM, Ivana Hutarova Varekova wrote:
> > CHANGELOGS:
> > CHANGELOG v7
> > * fix the warnings, remove the root path variable at all, free the name
> >
> > CHANGELOG v6
> > * remove the default whitelist (now default state is no whitelist is
> > used)
> > * incorporate jan's feedback
> > * dynamic allocation of variable names in lists
> > * fix the path names and reading
> >
> > CHANGELOG v5
> > * add the default blacklist and whitelist
> > * -w, -b: there is options for setting both blacklist and whitelist
> > configuration files
> > * -t: add the possibility to read the whitelist strictly
> >
> > CHANGELOG v4
> > * incorporate dhaval feedback:
> > * whitelist -> blacklist
> > * add cgroup_free_cgroup
> >
> > CHANGELOG v3
> > * white/blacklist is cached
> > * incorporate jsafraneks feedback
> >
> > CHANGELOG v2
> > * add whitelist which describe the set of variables which can be dealt
> > by
> > cgsnapshot without any problem (the values which with which have cgsnapshot
> > the problems are there with TODO comment and the reason) without -s option
> > the skipped variables are output with the warning text
> > * add the possibility to set the whitelist file
> > * add the possibility to redirect the output
> >
> > CHANGELOG v1
> > * more verbose comments
> > * tune the variable names/description/usage in display_controller_data
> > function
> > * remove unnecessary .stat exception
> >
> > SYNOPSIS:
> > cgsnapshot [-h] [-s] [-t] [-b file] [-w file] [-f output_file]
> > [controller] [...]
> > Generate the configuration file from the given controllers of control groups
> > -b,--blacklist file Set the blacklist configuration file (default
> > /etc/cgsnapshot_blacklist.conf)
> > -f,--file Redirect the output to output_file
> > -h,--help Display this help
> > -s,--silent Ignore all warnings
> > -t,--strict Don't show the variables which are not on the
> > whitelist
> > -w,--whitelist file Set the whitelist configuration file (don't used by
> > default)
> >
> >
> > EXAMPLE:
> > $ /home/varekova/bg/libcgroup/20100719/libcg/src/tools/cgsnapshot -n
> > # Configuration file generated by cgsnapshot
> > mount {
> > cpuset = /cgroup/cpuset;
> > cpu = /cgroup/devices;
> > cpuacct = /cgroup/memoryd;
> > memory = /cgroup/memory;
> > devices = /cgroup/devices;
> > freezer = /cgroup/freezer;
> > net_cls = /cgroup/net_cls;
> > }
> >
> > group daemons {
> > perm {
> > admin {
> > uid = root;
> > gid = root;
> > }
> > task {
> > uid = root;
> > gid = root;
> > }
> > }
> > cpuset {
> > cpuset.memory_spread_slab="0";
> > cpuset.memory_spread_page="0";
> > cpuset.memory_migrate="0";
> > cpuset.sched_relax_domain_level="-1";
> > cpuset.sched_load_balance="1";
> > cpuset.mem_hardwall="0";
> > cpuset.mem_exclusive="0";
> > cpuset.cpu_exclusive="0";
> > }
> > }
> >
> > Signed-off-by: Ivana Hutarova Varekova<[email protected]>
>
> Acked-by: Jan Safranek <[email protected]>
>
I am going to merge these today, I think we can iteratively refine
these, but this is a good starting point.
--
Three Cheers,
Balbir
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel