Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lxc_ram] lxc-cgroupが失敗するため、メモリ使用量が取得できない #3

Open
mittyorz opened this issue Mar 4, 2017 · 0 comments

Comments

@mittyorz
Copy link
Owner

mittyorz commented Mar 4, 2017

  • Debian 8.7
mitty@debian8:~$ sudo lxc-cgroup -n lxc-jessie2 memory.usage_in_bytes
lxc_container: failed to retrieve value of 'memory.usage_in_bytes' for '/var/lib/lxc:lxc-jessie2'
mitty@debian8:~$ sudo lxc-cgroup -n lxc-jessie2 memory.stat
lxc_container: failed to retrieve value of 'memory.stat' for '/var/lib/lxc:lxc-jessie2'
  • Arch 4.9.11-1-ARCH
mitty@arch:~$ sudo lxc-cgroup -n lxc-arch2 memory.usage_in_bytes
21590016
mitty@arch:~$ sudo lxc-cgroup -n lxc-arch2 memory.stat
cache 7708672
rss 6623232
rss_huge 0
(snip)

#2 (comment) と同じく、 lxc-info をつかえば良さそう

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant