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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>