GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
INJAIL(8) FreeBSD System Manager's Manual INJAIL(8)

injail
determine if a process is running in a jail

injail

The injail utility returns a result which indicates the jailed status of the current process environment.

The injail utility exits with one of the following values:
0
the process is running in a jail.
1
the process is not running in a jail.
2
an error prevented determining if the process is running in a jail.

injail uses kvm_getprocs(3) to determine process status. Anything which could cause a failure in either kvm_open(3) or kvm_getprocs(3) can cause this to fail as well. There aught to be a cleaner way.


James E. Quick <jq@quick.com>

jails(8), jail(8), jls(8), kvm(3)
May 28, 2002 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.