Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/vzlist.8

720 bytes added, 01:42, 30 October 2013
Automated import of articles *** existing text overwritten ***
<p style="margin-top: 1em">[<b>-a</b> | <b>-S</b>]
[<b>-n</b>] [<b>-H</b>] [<b>-t</b>] [<b>-j</b>]
[<b>-o&nbsp;</b><i>name</i>[,<i>name</i>...] | <b>-1</b>]
[<b>-s&nbsp;</b>[<b>-</b>]<i>name</i>]
displayed.</p>
<p style="margin-left:11%; margin-top: 1em">For the some fieldsthat can have many long values (e.g. <b>ip</b>, <b>hostname</b>,<b>description</b> or <b>features</b>), all the valuesvalue string istrimmed to some predefined width (in order not to break theare displayed only for columned layout), unless this field is the last (ione.e. leftmost) column;So, inotherwiseorder to get the full non-trimmed value for such a field, only put the first value is shownfield name last in the list of fields for <b>-o</b>option. If using <b>vzlist</b> from a script, add <b>-t</b>to disable trimming.</p>
== OPTIONS ==
<p style="margin-left:22%;">Suppress displaying the header
row. Usable for scripts.</p> <p style="margin-left:11%;"><b>-t</b>, <b>--no-trim</b></p> <p style="margin-left:22%;">Suppress trimming long fields.Usable for scripts.</p> <p style="margin-left:11%;"><b>-j</b>, <b>--json</b></p> <p style="margin-left:22%;">Output in JSON format. Bydefault, all possible fields are printed.</p>
<p style="margin-left:11%;"><b>-o</b>, <b>--output</b>
<p style="margin-left:22%;">Display only the specified
<i>field</i>s (see <b>Standard Possible fields</b> subsection
below).</p>
<p style="margin-left:22%;">list all available format
specifiers that can be used for both output both output(<b>-o</b>, <b>--output</b>) and the sorting order(<b>-s</b>, <b>--sort</b>).</p>
<p style="margin-left:2211%; margin-top: 1em">For the user
beancounter fields, if suffix is not specified, current
usage (a.k.a. &quot;held&quot;) value is show. One can also
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p><b>.m</b></p></td>
<td width="78%"></td><td width="1918%">
<p>maxheld</p></td>
<td width="4960%">
</td></tr>
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p><b>.b</b></p></td>
<td width="78%"></td><td width="1918%">
<p>barrier</p></td>
<td width="4960%">
</td></tr>
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p><b>.l</b></p></td>
<td width="78%"></td><td width="1918%">
<p>limit</p></td>
<td width="4960%">
</td></tr>
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p><b>.f</b></p></td>
<td width="78%"></td><td width="1918%">
<p>fail counter</p></td>
<td width="4960%">
</td></tr>
</table>
<p style="margin-left:2211%; margin-top: 1em">For the disk
quota fields, if suffix is not specified, current usage is
shown. One can also use the following suffixes:</p>
cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p style="margin-top: 1em"><b>.s</b></p></td>
<td width="78%"></td><td width="1615%">
<p style="margin-top: 1em">soft limit</p></td>
<td width="5263%">
</td></tr>
<tr valign="top" align="left">
<td width="2211%"></td>
<td width="3%">
<p><b>.h</b></p></td>
<td width="78%"></td><td width="1615%">
<p>hard limit</p></td>
<td width="5263%">
</td></tr>
</table>
 
<p style="margin-left:11%; margin-top: 1em">Note that for
JSON output suffixes are not allowed.</p>
== EXAMPLES ==
kmemsize usage.</p>
== DIAGNOSTICS EXIT STATUS ==
<p style="margin-left:11%; margin-top: 1em">Returns 0 upon
2,253
edits