Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/jls/jls.8
Show All 27 Lines | |||||
.Dd July 20, 2012 | .Dd July 20, 2012 | ||||
.Dt JLS 8 | .Dt JLS 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm jls | .Nm jls | ||||
.Nd "list jails" | .Nd "list jails" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl -libxo | |||||
.Op Fl dhNnqsv | .Op Fl dhNnqsv | ||||
.Op Fl j Ar jail | .Op Fl j Ar jail | ||||
.Op Ar parameter ... | .Op Ar parameter ... | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility lists all active jails, or the specified jail. | utility lists all active jails, or the specified jail. | ||||
Each jail is represented by one row which contains space-separated values of | Each jail is represented by one row which contains space-separated values of | ||||
Show All 13 Lines | |||||
or any of the options | or any of the options | ||||
.Fl hns | .Fl hns | ||||
are given, the following four columns will be printed: | are given, the following four columns will be printed: | ||||
jail identifier (jid), IP address (ip4.addr), hostname (host.hostname), | jail identifier (jid), IP address (ip4.addr), hostname (host.hostname), | ||||
and path (path). | and path (path). | ||||
.Pp | .Pp | ||||
The following options are available: | The following options are available: | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl -libxo | |||||
Generate output via | |||||
.Xr libxo 3 | |||||
in a selection of different human and machine readable formats. | |||||
See | |||||
.Xr xo_parse_args 3 | |||||
for details on command line arguments. | |||||
.It Fl d | .It Fl d | ||||
List | List | ||||
.Va dying | .Va dying | ||||
as well as active jails. | as well as active jails. | ||||
.It Fl h | .It Fl h | ||||
Print a header line containing the parameters listed. | Print a header line containing the parameters listed. | ||||
If no parameters are given on the command line, | If no parameters are given on the command line, | ||||
.Va all | .Va all | ||||
Show All 28 Lines | |||||
The jid or name of the | The jid or name of the | ||||
.Ar jail | .Ar jail | ||||
to list. | to list. | ||||
Without this option, all active jails will be listed. | Without this option, all active jails will be listed. | ||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr jail_get 2 , | .Xr jail_get 2 , | ||||
.Xr jail 8 , | .Xr jail 8 , | ||||
.Xr jexec 8 | .Xr jexec 8 , | ||||
.Xr libxo 3 , | |||||
.Xr xo_parse_args 3 | |||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
utility was added in | utility was added in | ||||
.Fx 5.1 . | .Fx 5.1 . | ||||
Extensible jail parameters were introduced in | Extensible jail parameters were introduced in | ||||
.Fx 8.0 . | .Fx 8.0 . | ||||
libxo support was added in | |||||
.Fx 11.0 . |