jails list
Attention! I apologize, but it is automatic machine translation of the text. You can improve it if will send to me more correct version of the text or fix html pages via GITHUB repository. Commands:
% cbsd jls
Description:
Show the list of jails on a local node or for all added nodes. At a conclusion by the local node, fields are shown:
JNAME JID IP Hostname Path Status
JNAME - jail name
JID - Jail ID
IP - list of assigned IP addresses (IPv4,IPv6)
Hostname - FQDN jail
Path - root filesystem for jail
Status - On (running), Off (stoped), Sl (Slave mode, unregister)
note: jail in Slave status can not be started until it not switch to Off status (register) With Slave status, rc.conf, fstab and data directory are named as rc.conf.slave, fstab.slave and jname-data.slave. In a slave condition can there are replication for jail, backup. To switch the Slave/Master modes it is possible through cbsd jswmode command.
In a case when to the local server are added a key of remote of nodes, it is possible to receive the list of all jails in a farm via
cbsd jls alljails=1
or
cbsd jls alljails=1 shownode=1
for output with node name where jail are hosted.
In the output from cbsd jls alljails, it is possible to see only active jails (in status On)
Example:
% cbsd jls

|