xref: /freebsd/usr.sbin/jls/jls.8 (revision 413628a7e3d23a897cd959638d325395e4c9691b)
1ebf5d9bcSMike Barcroft.\"
2ebf5d9bcSMike Barcroft.\" Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org>
3ebf5d9bcSMike Barcroft.\" All rights reserved.
4ebf5d9bcSMike Barcroft.\"
5ebf5d9bcSMike Barcroft.\" Redistribution and use in source and binary forms, with or without
6ebf5d9bcSMike Barcroft.\" modification, are permitted provided that the following conditions
7ebf5d9bcSMike Barcroft.\" are met:
8ebf5d9bcSMike Barcroft.\" 1. Redistributions of source code must retain the above copyright
9ebf5d9bcSMike Barcroft.\"    notice, this list of conditions and the following disclaimer.
10ebf5d9bcSMike Barcroft.\" 2. Redistributions in binary form must reproduce the above copyright
11ebf5d9bcSMike Barcroft.\"    notice, this list of conditions and the following disclaimer in the
12ebf5d9bcSMike Barcroft.\"    documentation and/or other materials provided with the distribution.
13ebf5d9bcSMike Barcroft.\"
14ebf5d9bcSMike Barcroft.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15ebf5d9bcSMike Barcroft.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16ebf5d9bcSMike Barcroft.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17ebf5d9bcSMike Barcroft.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18ebf5d9bcSMike Barcroft.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19ebf5d9bcSMike Barcroft.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20ebf5d9bcSMike Barcroft.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21ebf5d9bcSMike Barcroft.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22ebf5d9bcSMike Barcroft.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23ebf5d9bcSMike Barcroft.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24ebf5d9bcSMike Barcroft.\" SUCH DAMAGE.
25ebf5d9bcSMike Barcroft.\"
26ebf5d9bcSMike Barcroft.\" $FreeBSD$
27ebf5d9bcSMike Barcroft.\"
28413628a7SBjoern A. Zeeb.Dd November 29, 2008
29ebf5d9bcSMike Barcroft.Dt JLS 8
30ebf5d9bcSMike Barcroft.Os
31ebf5d9bcSMike Barcroft.Sh NAME
32ebf5d9bcSMike Barcroft.Nm jls
33413628a7SBjoern A. Zeeb.Nd "list jails"
34ebf5d9bcSMike Barcroft.Sh SYNOPSIS
35ebf5d9bcSMike Barcroft.Nm
36413628a7SBjoern A. Zeeb.Op Fl av
37ebf5d9bcSMike Barcroft.Sh DESCRIPTION
38ebf5d9bcSMike BarcroftThe
39ebf5d9bcSMike Barcroft.Nm
40413628a7SBjoern A. Zeebutility lists all jails.
41413628a7SBjoern A. ZeebBy default only active jails are listed.
42413628a7SBjoern A. Zeeb.Pp
43413628a7SBjoern A. ZeebThe options are as follows:
44413628a7SBjoern A. Zeeb.Bl -tag -width ".Fl a"
45413628a7SBjoern A. Zeeb.It Fl a
46413628a7SBjoern A. ZeebShow jails in all states, not only active ones.
47413628a7SBjoern A. Zeeb.It Fl v
48413628a7SBjoern A. ZeebShow more verbose information.
49413628a7SBjoern A. ZeebThis also lists cpusets, jail state, multi-IP, etc. instead of the
50413628a7SBjoern A. Zeebclassic single-IP jail output.
51413628a7SBjoern A. Zeeb.El
52413628a7SBjoern A. Zeeb.Pp
53413628a7SBjoern A. ZeebEach jail is represented by rows which, depending on
54413628a7SBjoern A. Zeeb.Fl v ,
55413628a7SBjoern A. Zeebcontain the following columns:
56413628a7SBjoern A. Zeeb.Bl -item -offset indent -compact
57413628a7SBjoern A. Zeeb.It
58413628a7SBjoern A. Zeebjail identifier (JID), hostname and path
59413628a7SBjoern A. Zeeb.It
60413628a7SBjoern A. Zeebjail state and name
61413628a7SBjoern A. Zeeb.It
62413628a7SBjoern A. Zeebjail cpuset
63413628a7SBjoern A. Zeeb.It
64413628a7SBjoern A. Zeebfollowed by one IP adddress per line.
65413628a7SBjoern A. Zeeb.El
66ebf5d9bcSMike Barcroft.Sh SEE ALSO
67ebf5d9bcSMike Barcroft.Xr jail 2 ,
68ebf5d9bcSMike Barcroft.Xr jail 8 ,
69ebf5d9bcSMike Barcroft.Xr jexec 8
70ebf5d9bcSMike Barcroft.Sh HISTORY
71ebf5d9bcSMike BarcroftThe
72ebf5d9bcSMike Barcroft.Nm
73ebf5d9bcSMike Barcroftutility was added in
74ebf5d9bcSMike Barcroft.Fx 5.1 .
75