Re: [patch 6/6] mm: memcg: print statistics from live counters

From: Glauber Costa
Date: Thu May 17 2012 - 06:58:04 EST


On 05/17/2012 04:01 AM, KAMEZAWA Hiroyuki wrote:
Hm...sorry. I(fujitsu) am now considering to add meminfo for memcg...,

add an option to override /proc/meminfo if a task is in container or
meminfo file somewhere.
(Now, we cannot trust /usr/bin/free, /usr/bin/top etc...in a container.)

Yes, and all the previous times I tried to touch those, I think the general agreement was to come up with some kind of fuse overlay that would read information available from the kernel, and present it correctly formatted through bind-mounts on the files of interest.

But that's mainly because we never reached agreement on how to make that appear automatically from such tasks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/