blob: 6c66a1c053f369ffbff7ac81e5724040ea5716bb [file] [log] [blame] [raw]
.TH vzcalc 8 "10 Dec 2009" "OpenVZ" "Containers"
.SH NAME
vzcalc \- calculate resource usage of a container
.SH SYNOPSIS
.SY vzcalc
.OP -v
.B CTID
.YS
.SH 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).
.TP
.B Current
Shows the amount of the resources consumed by the container at a given time.
.TP
.B Promised
Shows the resources soft limit values "promised" for a given container.
.TP
.B Max
Shows the resources hard limit values "promised" for a given container.
.P
If the \fB-v\fR option is specified, the following additional information
is also displayed:
.TP
.B Low Mem
The part of memory residing at lower addresses and directly accessed
by the kernel (only makes sense for 32-bit architectures).
.TP
.B Total RAM
Total memory.
.TP
.B Mem+Swap
Amount of memory available for applications (both RAM and swap space).
.TP
.B Alloc Mem
Standard memory allocations made for applications in a container.
This is a more "virtual" system resource than RAM or RAM and swap.
.TP
.B Num. Proc
Number of processes.
.SH OPTIONS
.TP
.B -v
Display additional information.
.SH EXIT STATUS
Normally, the exit status is 0. On error, the exit status is 1.
.SH LICENSE
Copyright (C) 2000-2009, Parallels, Inc. Licensed under GNU GPL.