[Lxc-users] lxc-ps lxc-netstat not working
Shibashish
shib4u at gmail.com
Mon Jan 7 14:29:45 UTC 2013
I am on CentOS 6.3 and got lxc working on it. But when I run lxc-ps or
lxc-netstat, i get the following errors...
lxc-ps: no cgroup mount point found
lxc-netstat: no cgroup mount point found
Relevant lines in lxc-ps.in... (I tried bot the options)
# Get the filesystem mountpoint of the hierarchy
#mountpoint=$(grep -E "^cgroup [^ ]+ [^ ]+ ([^
]+,)?$subsystems(,[^ ]+)? " /proc/self/mounts | cut -d ' ' -f 2)
mountpoint=$(grep -E "^[^ ]+ [^ ]+ cgroup ([^
]+,)?$subsystems(,[^ ]+)? " /proc/self/mounts | cut -d ' ' -f 2)
if [ -z "$mountpoint" ]; then continue; fi
# mount | grep cgroup
none on /cgroup type cgroup (rw)
# grep cgroup /etc/fstab
none /cgroup cgroup defaults 0 0
# grep cgroup /proc/self/mounts
none /cgroup cgroup
rw,relatime,net_prio,perf_event,blkio,net_cls,freezer,devices,memory,cpuacct,cpu,ns,cpuset
0 0
ShiB.
while ( ! ( succeed = try() ) );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130107/5632f899/attachment.html>
More information about the lxc-users
mailing list