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).
shows the amount of the resources consumed by the container at a
shows the resources soft limit values "promised" for a given
shows the resources hard limit values "promised" for a given
If the -v option is specified, the additional information is displayed.
the part of memory residing at lower addresses and directly
accessed by the kernel.
amount of memory available for applications (both RAM and swap
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.