vzcalc(8) calculate resource usage of a container

SYNOPSIS

vzcalc [-v ] CTID

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).
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

-v
Display additional information.

EXIT STATUS

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

LICENSE

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