vzcalc(8) Containers vzcalc(8)

vzcalc - utility to calculate the container's resources usage.

vzcalc [-v] <vpsid>

-v
Display additional information.

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 additional information is displayed.

Low Mem
the part of memory residing at lower addresses and directly accessed by the kernel.
Total Ram
whole RAM
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.

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

Copyright (C) 2000-2008, Parallels, Inc. Licensed under GNU GPL.
22 Feb 2008 OpenVZ