blob: ad3f0ac5e3e3977fa7ce85a480976e6d6443511d [file] [log] [blame] [view] [raw]
.\" $Id: vzcalc.8,v 1.5.10.5 2005/10/17 11:42:41 igor Exp $
.TH vzcalc 8 "10 Aug 2005" "OpenVZ" "Virtual Private Server"
.SH NAME
vzcalc \- utility to calculate the VPS resources usage.
.SH SYNOPSIS
vzcalc [\fB-v\fR] <\fBvpsid\fR>
.SH OPTIONS
.IP \fB-v\fR 4
Display additional information.
.SH DESCRIPTION
This utility displays the share of the Hardware Node resources a particular Virtual
Private Sever is using. If the VPS is running, the current usage is
displayed. High utilization values (>100%) mean the system is overloaded
(or the VPS has an invalid configuration).
.IP \fBCurrent\fR 4
shows the amount of the resources consumed by the VPS at a given time.
.IP \fBPromised\fR 4
shows the resourses soft limit values "promised" for a given VPS.
.IP \fBMax\ \fR 4
shows the resourses hard limit values "promised" for a given VPS.
.P
If the \fB-v\fR option is specified, the additional information is displayed.
.IP \fBLow\ Mem\fR 4
the part of memory residing at lower addresses and directly accessed by the kernel.
.IP \fBTotal\ Ram\fR 4
whole RAM
.IP \fBMem+Swap\fR 4
amount of memory available for applications (both RAM and swap space).
.IP \fBAlloc\ Mem\fR 4
standard memory allocations made for applications in a VPS. This is a more "virtual" system resource than RAM or RAM and swap.
.SH DIAGNOSTICS
Normally, the exit status is 0. On error, the exit status is 1.
.SH LICENSE
Copyright (C) 2000-2006, SWsoft. Licensed under GNU GPL.