DOKK / manpages / debian 10 / vzctl / vzcalc.8.en
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).

Shows the amount of the resources consumed by the container at a given time.
Shows the resources soft limit values "promised" for a given container.
Shows the resources hard limit values "promised" for a given container.

If the -v option is specified, the following additional information is also displayed:

The part of memory residing at lower addresses and directly accessed by the kernel (only makes sense for 32-bit architectures).
Total memory.
Amount of memory available for applications (both RAM and swap space).
Standard memory allocations made for applications in a container. This is a more "virtual" system resource than RAM or RAM and swap.
Number of processes.

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.

18 Mar 2012 OpenVZ