vzcalc(8)

vzcalc8

Calculate resource usage of a container

Usage

vzcalc [-v] CTID

Overview

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.

Releases

7 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8–10

License

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

From vzctl 4.9.4-6 in Debian 10 (Buster). Parsed by carta from the page's man source.