Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Man/vzlist.8

24,236 bytes removed, 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>
  STANDARD FIELDS These may be used to control both output (-o, <p style="margin-left:11%; margin-top: 1em">Note that forJSON output) and the sorting order (-s, --sort).  ┌───────┬─────────────┐ │Suffix │ Description │ ├───────┼─────────────┤ ├───────┼─────────────┤ │ .m │ maxheld │ ├───────┼─────────────┤ │ .b │ barrier │ ├───────┼─────────────┤ │ .l │ limit │ ├───────┼─────────────┤ │ .f │ failcnt │ ├───────┼─────────────┤ │ .s │ softlimit │ ├───────┼─────────────┤ │ .h │ hardlimit │ └───────┴─────────────┘ ┌───────────────┬─────────────┐ │Value │ Header │ ├───────────────┼─────────────┤ ├───────────────┼─────────────┤ │ctid │ CTID │ ├───────────────┼─────────────┤ │hostname │ HOSTNAME │ ├───────────────┼─────────────┤ │name │ NAME │ ├───────────────┼─────────────┤ │description │ DESCRIPTION │ ├───────────────┼─────────────┤ │ostemplate │ OSTEMPLATE │ ├───────────────┼─────────────┤ │ip │ IP_ADDR │ ├───────────────┼─────────────┤ │status │ STATUS │ ├───────────────┼─────────────┤ │kmemsize │ KMEMSIZE │ ├───────────────┼─────────────┤ │kmemsize.m │ KMEMSIZE.M │ ├───────────────┼─────────────┤ │kmemsize.b │ KMEMSIZE.B │ ├───────────────┼─────────────┤ │kmemsize.l │ KMEMSIZE.L │ ├───────────────┼─────────────┤ │kmemsize.f │ KMEMSIZE.F │ ├───────────────┼─────────────┤ │lockedpages │ LOCKEDP │ ├───────────────┼─────────────┤ │lockedpages.m │ LOCKEDP.M │ ├───────────────┼─────────────┤ │lockedpages.b │ LOCKEDP.B │ ├───────────────┼─────────────┤ │lockedpages.l │ LOCKEDP.L │ ├───────────────┼─────────────┤ │lockedpages.f │ LOCKEDP.F │ ├───────────────┼─────────────┤ │privvmpages │ PRIVVMP │ ├───────────────┼─────────────┤ │privvmpages.m │ PRIVVMP.M │ ├───────────────┼─────────────┤ │privvmpages.b │ PRIVVMP.B │ ├───────────────┼─────────────┤ │privvmpages.l │ PRIVVMP.L │ ├───────────────┼─────────────┤ │privvmpages.f │ PRIVVMP.F │ ├───────────────┼─────────────┤ │shmpages │ SHMP │ ├───────────────┼─────────────┤ │shmpages.m │ SHMP.M │ ├───────────────┼─────────────┤ │shmpages.b │ SHMP.B │ ├───────────────┼─────────────┤ │shmpages.l │ SHMP.L │ ├───────────────┼─────────────┤ │shmpages.f │ SHMP.F │ ├───────────────┼─────────────┤ │numproc │ NPROC │ ├───────────────┼─────────────┤ │numproc.m │ NPROC.M │ ├───────────────┼─────────────┤ │numproc.b │ NPROC.B │ ├───────────────┼─────────────┤ │numproc.l │ NPROC.L │ ├───────────────┼─────────────┤ │numproc.f │ NPROC.F │ ├───────────────┼─────────────┤ │physpages │ PHYSP │ ├───────────────┼─────────────┤ │physpages.m │ PHYSP.M │ ├───────────────┼─────────────┤ │physpages.b │ PHYSP.B │ ├───────────────┼─────────────┤ │physpages.l │ PHYSP.L │ ├───────────────┼─────────────┤ │physpages.f │ PHYSP.F │ ├───────────────┼─────────────┤ │vmguarpages │ VMGUARP │ ├───────────────┼─────────────┤ │vmguarpages.m │ VMGUARP.M │ ├───────────────┼─────────────┤ │vmguarpages.b │ VMGUARP.B │ ├───────────────┼─────────────┤ │vmguarpages.l │ VMGUARP.L │ ├───────────────┼─────────────┤ │vmguarpages.f │ VMGUARP.F │ ├───────────────┼─────────────┤ │oomguarpages │ OOMGUARP │ ├───────────────┼─────────────┤ │oomguarpages.m │ OOMGUARP.M │ ├───────────────┼─────────────┤ │oomguarpages.b │ OOMGUARP.B │ ├───────────────┼─────────────┤ │oomguarpages.l │ OOMGUARP.L │ ├───────────────┼─────────────┤ │oomguarpages.f │ OOMGUARP.F │ ├───────────────┼─────────────┤ │numtcpsock │ NTCPSOCK │ ├───────────────┼─────────────┤ │numtcpsock.m │ NTCPSOCK.M │ ├───────────────┼─────────────┤ │numtcpsock.b │ NTCPSOCK.B │ ├───────────────┼─────────────┤ │numtcpsock.l │ NTCPSOCK.L │ ├───────────────┼─────────────┤ │numtcpsocksuffixes are not allowed.f │ NTCPSOCK.F │ ├───────────────┼─────────────┤ │numflock │ NFLOCK │ ├───────────────┼─────────────┤ │numflock.m │ NFLOCK.M │ ├───────────────┼─────────────┤ │numflock.b │ NFLOCK.B │ ├───────────────┼─────────────┤ │numflock.l │ NFLOCK.L │ ├───────────────┼─────────────┤ │numflock.f │ NFLOCK.F │ ├───────────────┼─────────────┤ │numpty │ NPTY │ ├───────────────┼─────────────┤ │numpty.m │ NPTY.M │ ├───────────────┼─────────────┤ │numpty.b │ NPTY.B │ ├───────────────┼─────────────┤ │numpty.l │ NPTY.L │ ├───────────────┼─────────────┤ │numpty.f │ NPTY.F │ ├───────────────┼─────────────┤ │numsiginfo │ NSIGINFO │ ├───────────────┼─────────────┤ │numsiginfo.m │ NSIGINFO.M │ ├───────────────┼─────────────┤ │numsiginfo.b │ NSIGINFO.B │ ├───────────────┼─────────────┤ │numsiginfo.l │ NSIGINFO.L │ ├───────────────┼─────────────┤ │numsiginfo.f │ NSIGINFO.F │ ├───────────────┼─────────────┤ │tcpsndbuf │ TCPSNDB │ ├───────────────┼─────────────┤ │tcpsndbuf.m │ TCPSNDB.M │ ├───────────────┼─────────────┤ │tcpsndbuf.b │ TCPSNDB.B │ ├───────────────┼─────────────┤ │tcpsndbuf.l │ TCPSNDB.L │ ├───────────────┼─────────────┤ │tcpsndbuf.f │ TCPSNDB.F │ ├───────────────┼─────────────┤ │tcprcvbuf │ TCPRCVB │ ├───────────────┼─────────────┤ │tcprcvbuf.m │ TCPRCVB.M │ ├───────────────┼─────────────┤ │tcprcvbuf.b │ TCPRCVB.B │ ├───────────────┼─────────────┤ │tcprcvbuf.l │ TCPRCVB.L │ ├───────────────┼─────────────┤ │tcprcvbuf.f │ TCPRCVB.F │ ├───────────────┼─────────────┤ │othersockbuf │ OTHSOCKB │ ├───────────────┼─────────────┤ │othersockbuf.m │ OTHSOCKB.M │ ├───────────────┼─────────────┤ │othersockbuf.b │ OTHSOCKB.B │ ├───────────────┼─────────────┤ │othersockbuf.l │ OTHSOCKB.L │ ├───────────────┼─────────────┤ │othersockbuf.f │ OTHSOCKB.F │ ├───────────────┼─────────────┤ │dgramrcvbuf │ DGRAMRRB │ ├───────────────┼─────────────┤ │dgramrcvbuf.m │ DGRAMRRB.M │ ├───────────────┼─────────────┤ │dgramrcvbuf.b │ DGRAMRRB.B │ ├───────────────┼─────────────┤ │dgramrcvbuf.l │ DGRAMRRB.L │ ├───────────────┼─────────────┤ │dgramrcvbuf.f │ DGRAMRRB.F │ ├───────────────┼─────────────┤ │numothersock │ NOTHSOCK │ ├───────────────┼─────────────┤ │numothersock.m │ NOTHSOCK.M │ ├───────────────┼─────────────┤ │numothersock.b │ NOTHSOCK.B │ ├───────────────┼─────────────┤ │numothersock.l │ NOTHSOCK.L │ ├───────────────┼─────────────┤ │numothersock.f │ NOTHSOCK.F │ ├───────────────┼─────────────┤ │dcachesize │ DCACHESZ │ ├───────────────┼─────────────┤ │dcachesize.m │ DCACHESZ.M │ ├───────────────┼─────────────┤ │dcachesize.b │ DCACHESZ.B │ ├───────────────┼─────────────┤ │dcachesize.l │ DCACHESZ.L │ ├───────────────┼─────────────┤ │dcachesize.f │ DCACHESZ.F │ ├───────────────┼─────────────┤ │numfile │ NFILE │ ├───────────────┼─────────────┤ │numfile.m │ NFILE.M │ ├───────────────┼─────────────┤ │numfile.b │ NFILE.B │ ├───────────────┼─────────────┤ │numfile.l │ NFILE.L │ ├───────────────┼─────────────┤ │numfile.f │ NFILE.F │ ├───────────────┼─────────────┤ │numiptent │ NIPTENT │ ├───────────────┼─────────────┤ │numiptent.m │ NIPTENT.M │ ├───────────────┼─────────────┤ │numiptent.b │ NIPTENT.B │ ├───────────────┼─────────────┤ │numiptent.l │ NIPTENT.L │ ├───────────────┼─────────────┤ │numiptent.f │ NIPTENT.F │ ├───────────────┼─────────────┤ │swappages │ SWAPP │ ├───────────────┼─────────────┤ │swappages.m │ SWAPP.M │ ├───────────────┼─────────────┤ │swappages.b │ SWAPP.B │ ├───────────────┼─────────────┤ │swappages.l │ SWAPP.L │ ├───────────────┼─────────────┤ │swappages.f │ SWAPP.F │ ├───────────────┼─────────────┤ │diskspace │ DSPACE │ ├───────────────┼─────────────┤ │diskspace.s │ DSPACE.S │ ├───────────────┼─────────────┤ │diskspace.h │ DSPACE.H │ ├───────────────┼─────────────┤ │diskinodes │ DINODES │ ├───────────────┼─────────────┤ │diskinodes.s │ DINODES.S │ ├───────────────┼─────────────┤ │diskinodes.h │ DINODES.H │ ├───────────────┼─────────────┤ │laverage │ LAVERAGE │ ├───────────────┼─────────────┤ │cpulimit │ CPULIM │ ├───────────────┼─────────────┤ │cpuunits │ CPUUNI │ ├───────────────┼─────────────┤ │ioprio │ IOP │ ├───────────────┼─────────────┤ │onboot │ ONBOOT │ ├───────────────┼─────────────┤ │bootorder │ BOOTORDER │ └───────────────┴─────────────┘ </p>
== EXAMPLES ==
2,253
edits