| .TH vzcalc 8 "10 Dec 2009" "OpenVZ" "Containers" |
| .SH NAME |
| vzcalc \- calculate resource usage of a container |
| .SH SYNOPSIS |
| vzcalc [\fB-v\fR] \fICTID\fR |
| .SH OPTIONS |
| .IP \fB-v\fR 4 |
| Display additional information. |
| .SH DESCRIPTION |
| 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). |
| .IP \fBCurrent\fR 4 |
| shows the amount of the resources consumed by the container at a given time. |
| .IP \fBPromised\fR 4 |
| shows the resources soft limit values "promised" for a given container. |
| .IP \fBMax\ \fR 4 |
| shows the resources hard limit values "promised" for a given container. |
| .P |
| If the \fB-v\fR option is specified, the additional information is displayed. |
| .IP \fBLow\ Mem\fR 4 |
| the part of memory residing at lower addresses and directly accessed by the kernel. |
| .IP \fBTotal\ Ram\fR 4 |
| whole RAM |
| .IP \fBMem+Swap\fR 4 |
| amount of memory available for applications (both RAM and swap space). |
| .IP \fBAlloc\ Mem\fR 4 |
| standard memory allocations made for applications in a container. |
| This is a more "virtual" system resource than RAM or RAM and swap. |
| .SH EXIT STATUS |
| Normally, the exit status is 0. On error, the exit status is 1. |
| .SH LICENSE |
| Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL. |