[nSLUG] No CPU use stat from ps running bind in chroot
D G Teed
donald.teed at gmail.com
Tue Jul 25 11:50:13 ADT 2006
On 7/25/06, Eric R. Smith <ersmith at hfx.eastlink.ca> wrote:
> D G Teed wrote:
> > The chrooted bind will show 0:00 for processing time from ps -aux , while
> > the non-chrooted case will show some processing time has elapsed.
> > (The chrooted case is far more busy, as well, so it isn't simply a case
> > of an idle service.)
> ps uses /proc to get its info. Do both processes have appropriate
> entries in /proc? Maybe the chroot'd one shows up in /newroot/proc
> rather than /proc.
Yes, I considered that. I mounted /proc in the chroot and
restarted bind but it made no difference.
More information about the nSLUG