Previous page

Next page

Locate page in Contents

Print this page

pstat Configuration File

This file ( /etc/vzstat.conf ) lists a number of CPU, memory, and disk-related parameters used by the pstat utility. The values assigned to these parameters denote either the warning or the error level for the pstat utility to start displaying these parameters either in the yellow color (the warning level has been hit) or in the red color (the error level has been hit). Moreover, if a parameter has hit the error level, the CRIT warning is displayed instead of OK after the name of the corresponding subsystem (CPU, Memory, Swap, Net, or Disks).

The table below provides information on the name and the description of all these parameters, on whether they denote the warning or the error level, whether the real parameter value has to be higher or lower than this level in order to invoke an alert, and on the parameters default values.

Parameters

Name

Description

Default Value

Alert When

Alert Type

LOAD_AVG

Load average.

30

Higher

Warning

PROC_RUN

Number of running processes.

20

Higher

Warning

PROC_UNINT

Number of uninterruptable processes (in ā€œDā€ state).

20

Higher

Warning

CPU_IDLE

CPU idle time, in percent.

10

Lower

Warning

CPU_SYS

CPU system time, in percent.

50

Higher

Warning

CPU_LAT_MAX_WARN

Scheduling latency, in milliseconds (maximum over 5 sec period).

750

Higher

Warning

CPU_LAT_MAX_ERR

Scheduling latency, in milliseconds (maximum over 5 sec period).

1000

Higher

Error

CPU_LAT_AVG_WARN

Scheduling latency, in milliseconds (5 sec average).

500

Higher

Warning

CPU_LAT_AVG_ERR

Scheduling latency, in milliseconds (5 sec average).

750

Higher

Error

MEM_LAT_MAX_WARN

Memory allocation latency, in milliseconds (maximum over 5 sec period).

300

Higher

Warning

MEM_LAT_MAX_ERR

Memory allocation latency, in milliseconds (maximum over 5 sec period).

500

Higher

Error

MEM_LAT_AVG_WARN

Memory allocation latency, in milliseconds (5 sec average).

250

Higher

Warning

MEM_LAT_AVG_ERR

Memory allocation latency, in milliseconds (5 sec average).

400

Higher

Error

MEM_ZONE_ACT_INACT_FREE_WARN

Size of available memory (free + active + inactive pages), in percent.

8

Lower

Warning

MEM_ZONE_ACT_INACT_FREE_ERR

Size of available memory (free + active + inactive pages), in percent.

4

Lower

Error

MEM_ZONE_ACT_INACT_FREE_ABS_WARN

Size of available memory (free + active + inactive pages), in MB.

4

Lower

Warning

MEM_ZONE_ACT_INACT_FREE_ABS_ERR

Size of available memory (free + active + inactive pages), in MB.

2

Lower

Error

MEM_ZONE_ORDER_GT_0

Number of pages which are gathered in blocks with order > 0. For example, if current memory distribution looks like: 3*1 1*2 3*4 5*8 .... Then number of pages with order>0 is 1*2 + 3*4 + 5*8 + ...

100

Lower

Warning

SWAP_FREE_WARN

Free swap space, in percent.

75

Lower

Warning

SWAP_FREE_ERR

Free swap space, in percent.

50

Lower

Error

SWAP_IN_WARN

Swap-in activity, in Mb/sec.

0.5

Higher

Warning

SWAP_IN_ERR

Swap-in activity, in Mb/sec.

1

Higher

Error

SWAP_OUT_WARN

Swap-out activity, in Mb/sec.

0.5

Higher

Warning

SWAP_OUT_ERR

Swap-out activity, in Mb/sec.

1

Higher

Error

SWAP_LAT_MAX_WARN

Swap-in latency, in milliseconds (maximum over 5 sec period).

750

Higher

Warning

SWAP_LAT_MAX_ERR

Swap-in latency, in milliseconds (maximum over 5 sec period).

1000

Higher

Error

SWAP_LAT_AVG_WARN

Swap-in latency, in milliseconds (5 sec average).

500

Higher

Warning

SWAP_LAT_AVG_ERR

Swap-in latency, in milliseconds (5 sec average).

750

Higher

Error

DISK_FREE_INODES_WARN

Free inodes on the disk, in percent.

20

Lower

Warning

DISK_FREE_INODES_ERR

Free inodes on the disk, in percent.

5

Lower

Error

DISK_FREE_SPACE_WARN

Free disk space, in percent.

20

Lower

Warning

DISK_FREE_SPACE_ERR

Free disk space, in percent.

5

Lower

Error

CT_FAILCNT_DELTA

Number of failed UBC resource allocations for a particular Container between pstat screen updates (any resource type counts).

1

Higher

Error