vzcalc(8) Containers vzcalc(8)

vzcalc - calculate resource usage of a container

vzcalc [-v] CTID

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.

-v
Display additional information.

Normally, the exit status is 0. On error, the exit status is 1.

Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL.
10 Dec 2009 OpenVZ