Results 49 comments of Devon Schwartz

Oh okay. I was testing it on alpine 3.17, so it could definitely be that my solution is not fit for later versions

I get the same thing you do on 3.20. For reference, in my forked repo I get this: ``` time_ms,container,cpu_nanos,cpu_sys_userhz,cpu_user_userhz,blkio_bytes,blkio_iops,mem_used_bytes,memsw_used_bytes,kernel_mem_used_bytes\ Unable to read cgroup item memory.kmem.usage_in_bytes Unable to read cgroup...

My guess is that the container stats are not being updated. If the paths were bad, then it would print "Unable to read cgroup item...". The container stats are set...

I tried using `sudo ./lxc-create -t download a1` with alpine version 3.20, and I got the container statistics. However, when I use qemu (@ncopa 's setup), the statistics do not...

No worries @ncopa. As a student, I am always appreciate of whatever help I can get. I am going to try your changes on my end and merge them.

@ncopa, is it okay if I merge your branch into mine and fix the cpu stat issue? Update: @ncopa I will go ahead and your changes into this branch so...

I found this link for cgroup documentation: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/tree/Documentation/admin-guide/cgroup-v2.rst

@ncopa have we figured out why container stats wont print on a alpine 3.20 distro?

Could I be assigned this issue? I will try the ifdef wrapper solution (and I will make sure it does not affect other distros). I’ll also investigate other solutions, as...