Difference between revisions of "Man/vzcalc.8"
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
Botinki Kira (talk | contribs) (Automated import of articles *** existing text overwritten ***) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
== SYNOPSIS == | == SYNOPSIS == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<table width="100%" border="0" rules="none" frame="void" | <table width="100%" border="0" rules="none" frame="void" | ||
| Line 15: | Line 10: | ||
<tr valign="top" align="left"> | <tr valign="top" align="left"> | ||
<td width="11%"></td> | <td width="11%"></td> | ||
| − | <td width=" | + | <td width="9%"> |
| − | <p style="margin-top: 1em" | + | <p style="margin-top: 1em"><b>vzcalc</b></p></td> |
| − | <td width=" | + | <td width="2%"></td> |
| − | <td width=" | + | <td width="13%"> |
| − | <p style="margin-top: 1em"> | + | <p style="margin-top: 1em">[<b>-v</b>] <b>CTID</b></p></td> |
| − | + | <td width="65%"> | |
| − | <td width=" | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
| Line 37: | Line 31: | ||
Current</b></p> | Current</b></p> | ||
| − | <p style="margin-left: | + | <p style="margin-left:22%;">Shows the amount of the |
resources consumed by the container at a given time.</p> | resources consumed by the container at a given time.</p> | ||
<p style="margin-left:11%;"><b>Promised</b></p> | <p style="margin-left:11%;"><b>Promised</b></p> | ||
| − | <p style="margin-left: | + | <p style="margin-left:22%;">Shows the resources soft limit |
values "promised" for a given container.</p> | values "promised" for a given container.</p> | ||
| − | < | + | <table width="100%" border="0" rules="none" frame="void" |
| + | cellspacing="0" cellpadding="0"> | ||
| + | <tr valign="top" align="left"> | ||
| + | <td width="11%"></td> | ||
| + | <td width="4%"> | ||
| + | |||
| + | <p><b>Max</b></p></td> | ||
| + | <td width="7%"></td> | ||
| + | <td width="78%"> | ||
| − | <p | + | <p>Shows the resources hard limit values |
| − | + | "promised" for a given container.</p></td></tr> | |
| + | </table> | ||
<p style="margin-left:11%; margin-top: 1em">If the | <p style="margin-left:11%; margin-top: 1em">If the | ||
| − | <b>-v</b> option is specified, the additional information is | + | <b>-v</b> option is specified, the following additional |
| − | displayed | + | information is also displayed: <b><br> |
| − | Low | + | Low Mem</b></p> |
| − | <p style="margin-left: | + | <p style="margin-left:22%;">The part of memory residing at |
| − | lower addresses and directly accessed by the kernel.</p> | + | lower addresses and directly accessed by the kernel (only |
| + | makes sense for 32-bit architectures).</p> | ||
| − | <p style="margin-left:11%;"><b>Total | + | <p style="margin-left:11%;"><b>Total RAM</b></p> |
| − | <p style="margin-left: | + | <p style="margin-left:22%;">Total memory.</p> |
<p style="margin-left:11%;"><b>Mem+Swap</b></p> | <p style="margin-left:11%;"><b>Mem+Swap</b></p> | ||
| − | <p style="margin-left: | + | <p style="margin-left:22%;">Amount of memory available for |
applications (both RAM and swap space).</p> | applications (both RAM and swap space).</p> | ||
| − | <p style="margin-left:11%;"><b>Alloc | + | <p style="margin-left:11%;"><b>Alloc Mem</b></p> |
| − | <p style="margin-left: | + | <p style="margin-left:22%;">Standard memory allocations |
made for applications in a container. This is a more | made for applications in a container. This is a more | ||
"virtual" system resource than RAM or RAM and | "virtual" system resource than RAM or RAM and | ||
swap.</p> | swap.</p> | ||
| − | == | + | <p style="margin-left:11%;"><b>Num. Proc</b></p> |
| + | |||
| + | <p style="margin-left:22%;">Number of processes.</p> | ||
| + | |||
| + | == OPTIONS == | ||
| + | |||
| + | <table width="100%" border="0" rules="none" frame="void" | ||
| + | cellspacing="0" cellpadding="0"> | ||
| + | <tr valign="top" align="left"> | ||
| + | <td width="11%"></td> | ||
| + | <td width="3%"> | ||
| + | |||
| + | <p style="margin-top: 1em"><b>-v</b></p></td> | ||
| + | <td width="8%"></td> | ||
| + | <td width="47%"> | ||
| + | |||
| + | <p style="margin-top: 1em">Display additional | ||
| + | information.</p> </td> | ||
| + | <td width="31%"> | ||
| + | </td></tr> | ||
| + | </table> | ||
| + | |||
| + | == EXIT STATUS == | ||
<p style="margin-left:11%; margin-top: 1em">Normally, the | <p style="margin-left:11%; margin-top: 1em">Normally, the | ||
Latest revision as of 13:11, 11 July 2011
NAME[edit]
vzcalc − calculate resource usage of a container
SYNOPSIS[edit]
|
vzcalc |
[-v] CTID |
DESCRIPTION[edit]
This utility
displays the share of the host system resources a particular
container is using. If the container is running, the current
usage is displayed. High utilization values (>100%) mean
the system is overloaded (or the container has an invalid
configuration).
Current
Shows the amount of the resources consumed by the container at a given time.
Promised
Shows the resources soft limit values "promised" for a given container.
|
Max |
Shows the resources hard limit values "promised" for a given container. |
If the
-v option is specified, the following additional
information is also displayed:
Low Mem
The part of memory residing at lower addresses and directly accessed by the kernel (only makes sense for 32-bit architectures).
Total RAM
Total memory.
Mem+Swap
Amount of memory available for applications (both RAM and swap space).
Alloc Mem
Standard memory allocations made for applications in a container. This is a more "virtual" system resource than RAM or RAM and swap.
Num. Proc
Number of processes.
OPTIONS[edit]
|
-v |
Display additional information. |
EXIT STATUS[edit]
Normally, the exit status is 0. On error, the exit status is 1.
LICENSE[edit]
Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL.