Date: Wed, 10 Sep 2003 10:49:51 -0700 From: Pat Lashley <patl+freebsd@volant.org> To: questions@freebsd.org Subject: Determining which jail a process is running in without procfs Message-ID: <1150905408.1063216191@mccaffrey.phoenix.volant.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150905408.1063216191>