Changes between Version 2 and Version 3 of TipAndDoc/Linux/LXC/munin-plugins


Ignore:
Timestamp:
Nov 7, 2016 12:45:00 AM (8 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Linux/LXC/munin-plugins

    v2 v3  
    319319}}} 
    320320 
     321 == Arch Linux == 
     322 * archja:Linux_Containers 
     323 
     324 * linux 4.8.6-1 
     325 * lxc 1:2.0.4-2 
     326  * {{{lxc.service}}} is enabled. 
     327 
     328 * $ sudo lxc-cgroup -n lxc-test tasks 
     329{{{ 
     330lxc-cgroup: tools/lxc_cgroup.c: main: 113 failed to retrieve value of 'tasks' for '/var/lib/lxc:lxc-test' 
     331}}} 
     332 * $ ls -1F /sys/fs/cgroup/ 
     333{{{ 
     334blkio/ 
     335cpu@ 
     336cpu,cpuacct/ 
     337cpuacct@ 
     338cpuset/ 
     339devices/ 
     340freezer/ 
     341memory/ 
     342net_cls/ 
     343pids/ 
     344systemd/ 
     345}}} 
     346{{{ 
     347cpu -> cpu,cpuacct 
     348cpu,cpuacct 
     349cpuacct -> cpu,cpuacct 
     350}}} 
     351 * $ find /sys/fs/cgroup/ | grep lxc-test/tasks | xargs wc -l 
     352{{{ 
     35319 /sys/fs/cgroup/devices/lxc/lxc-test/tasks 
     35419 /sys/fs/cgroup/memory/lxc/lxc-test/tasks 
     35519 /sys/fs/cgroup/cpuset/lxc/lxc-test/tasks 
     3560 /sys/fs/cgroup/pids/lxc/lxc-test/tasks 
     35719 /sys/fs/cgroup/cpu,cpuacct/lxc/lxc-test/tasks 
     35819 /sys/fs/cgroup/blkio/lxc/lxc-test/tasks 
     35919 /sys/fs/cgroup/freezer/lxc/lxc-test/tasks 
     36019 /sys/fs/cgroup/net_cls/lxc/lxc-test/tasks 
     3610 /sys/fs/cgroup/systemd/lxc/lxc-test/tasks 
     362}}}