Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
jps(8)			  BSD System Manager's Manual			jps(8)

NAME
     jps -- prints processes running in	a jail

SYNOPSIS
     jps -i jail
     jps jail [ps-options ...]

DESCRIPTION
     The jps utility prints out	a list of the processes	running	in a given
     jail. When	run with the -i	argument it just prints	out the	process	ids.
     Otherwise it prints out a full ps(1) type listing for the processes in
     the jail. The ps(1) formatting and	other options are available for	use.

OPTIONS
     -i		    Only print out the process ids.

     jail	    Either a jail id (which is an integer) or a	jail host
		    name.

     ps-options	    Formatting and other to be passed to ps(1) when listing
		    processes in the jail.

NOTES
     It	is possible to run two jails with the same host	name.  jps however al-
     ways only prints out processes for	one jail.

     The environment is	purged properly	before running ps(1) in	the jail in
     order to prevent unwanted information from	leaking	into the jail.

     jps needs a valid /dev/null device	in the jail. If	it doesn't exit	for
     some reason it is automatically created.

SEE ALSO
     jail(8), jails(8),	jls(8),	jstart(8), ps(1)

AUTHOR
     Stef Walter <stef@memberwebs.com>

jps			       February	23, 2020			   jps

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | NOTES | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=jps&sektion=8&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help