[Lxc-users] How make top, meminfo etc. to show the limits of the container?

2011-01-21 Thread GMail Christian
Hi, Is there already a way of hiding the hosts full RAM and SWAP info from the containers and make top, meminfo, etc. in the containers show the correct limits? thx, christian -- Special Offer-- Download ArcSight

Re: [Lxc-users] How make top, meminfo etc. to show the limits of the container?

2011-01-21 Thread atp
Hi, Its not as simple as it seems. What you're asking for is to selectively hide or modify what gets shown to container processes by the /proc file system. In other words making /proc container aware. /proc is already partially there - with the pid namespace, but not for ram and cpus. We've

Re: [Lxc-users] How make top, meminfo etc. to show the limits of the container?

2011-01-21 Thread Serge Hallyn
Quoting atp (andrew.phill...@lmax.com): Hi, Its not as simple as it seems. What you're asking for is to selectively hide or modify what gets shown to container processes by the /proc file system. In other words making /proc container aware. /proc is already partially there - with the pid