On Friday 24 December 2004 08:17, Marc G. Fournier wrote: > I'm trying to read /proc/*/status, specifically to find what processes > belong to what jail ... but, doing 'direct views' on it tends to generate > errors since processes "come-n-go" ...
I had the same problem when I was writing JailAdmin (sysutils/jailadmin), and eventually solved it by using jexec to execute ps from within a jail. This is actually a lot faster than opening and reading a lot of files from within /proc, *and* allows you to run a system without a mounted proc filesystem should you want to do so. -- Kirk Strauser
pgp688Yau53VT.pgp
Description: PGP signature