Le 03/05/2011 04:51, Mike O'Connor a écrit :
> Hi Herbert
>
> Could not find any of cgroup files as mentioned at
> 'http://linux-vserver.org/util-vserver:Cgroups' so I just stopped and
> started the guests and it went away.
>
> There might have been an order issue as the newer init.d util-vserver
> scripts did not seem to work correctly so I overwrote them with the
> older ones which did work. Maybe the did sort of work.
>
> Mike
cgroups are a moving target i guess is should review my firts wiki page
and see what recent kernel have for cgroup because some keys disapeared
and some appeared too.
for exemple on 2.6.36 i have:
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_merged
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_queued
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_service_bytes
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_service_time
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_serviced
-r--r--r-- 1 root root 0 May 2 12:28 blkio.io_wait_time
--w------- 1 root root 0 May 2 12:28 blkio.reset_stats
-r--r--r-- 1 root root 0 May 2 12:28 blkio.sectors
-r--r--r-- 1 root root 0 May 2 12:28 blkio.time
-rw-r--r-- 1 root root 0 May 2 12:28 blkio.weight
-rw-r--r-- 1 root root 0 May 2 12:28 blkio.weight_device
--w--w--w- 1 root root 0 May 2 12:28 cgroup.event_control
-r--r--r-- 1 root root 0 May 2 12:28 cgroup.procs
-rw-r--r-- 1 root root 0 May 2 12:28 cpu.shares
-r--r--r-- 1 root root 0 May 2 12:28 cpuacct.stat
-rw-r--r-- 1 root root 0 May 2 12:28 cpuacct.usage
-r--r--r-- 1 root root 0 May 2 12:28 cpuacct.usage_percpu
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.cpu_exclusive
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.cpus
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.mem_exclusive
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.mem_hardwall
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.memory_migrate
-r--r--r-- 1 root root 0 May 2 12:28 cpuset.memory_pressure
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.memory_pressure_enabled
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.memory_spread_page
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.memory_spread_slab
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.mems
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.sched_load_balance
-rw-r--r-- 1 root root 0 May 2 12:28 cpuset.sched_relax_domain_level
--w------- 1 root root 0 May 2 12:28 devices.allow
--w------- 1 root root 0 May 2 12:28 devices.deny
-r--r--r-- 1 root root 0 May 2 12:28 devices.list
-rw-r--r-- 1 root root 0 May 2 12:28 memory.failcnt
--w------- 1 root root 0 May 2 12:28 memory.force_empty
-rw-r--r-- 1 root root 0 May 2 12:28 memory.limit_in_bytes
-rw-r--r-- 1 root root 0 May 2 12:28 memory.max_usage_in_bytes
-rw-r--r-- 1 root root 0 May 2 12:28 memory.memsw.failcnt
-rw-r--r-- 1 root root 0 May 2 12:28 memory.memsw.limit_in_bytes
-rw-r--r-- 1 root root 0 May 2 12:28 memory.memsw.max_usage_in_bytes
-r--r--r-- 1 root root 0 May 2 12:28 memory.memsw.usage_in_bytes
-rw-r--r-- 1 root root 0 May 2 12:28 memory.move_charge_at_immigrate
-rw-r--r-- 1 root root 0 May 2 12:28 memory.oom_control
-rw-r--r-- 1 root root 0 May 2 12:28 memory.soft_limit_in_bytes
-r--r--r-- 1 root root 0 May 2 12:28 memory.stat
-rw-r--r-- 1 root root 0 May 2 12:28 memory.swappiness
-r--r--r-- 1 root root 0 May 2 12:28 memory.usage_in_bytes
-rw-r--r-- 1 root root 0 May 2 12:28 memory.use_hierarchy
-rw-r--r-- 1 root root 0 May 2 12:28 net_cls.classid
-rw-r--r-- 1 root root 0 May 2 12:28 notify_on_release
-rw-r--r-- 1 root root 0 May 2 12:28 release_agent
just see in you cgroup directory which keys are up for your specific kernel.
-- Cordialement, Ghislain