Determining which jail a process is running in without procfs
Pat Lashley
patl+freebsd at volant.org
Wed Sep 10 12:51:09 PDT 2003
I have a system running 5.1-RELEASE-p2 with several jails. Occasionally
I want to determine which jail a given process belongs to. On -STABLE
I could just cat /proc/<pid>/status and look at the final entry. But
with 5.x procfs id deprecated; so I'd like to find some other way. Any
help would be appreciated.
-Pat
More information about the freebsd-questions
mailing list