Reading LVE usage

Navigation:  Kernel Settings >

Reading LVE usage

Previous pageReturn to chapter overviewNext page

CloudLinux kernel provides real time usage data in /proc/lve/list file.

 

All the statistics can be read from that file in real time. Depending on your kernel version you will get either Version 6 of the file, or version 4 of the file.

You can detect the version by reading the first line of the file. It should look like:
6:LVE... for version 6

4:LVE... for version 4

 

First line presents headers for the data.

Second line shows default limits for the server, with all other values being 0.

The rest of the lines present limits & usage data on per LVE bases.

 

Version 6 (CL6 & hybrid kernels):

 

6:LVE        EP        lCPU        lIO        CPU        MEM        IO        lMEM        lEP        nCPU        fMEM        fEP        lMEMPHY        lCPUW        lNPROC        MEMPHY        fMEMPHY        NPROC        fNPROC
0        0        25        1024        0        0        0        262144        20        1        0        0        262144        100        0        0        0        0        0
300        0        25        1024        1862407        0        0        262144        20        1        0        0        262144        100        0        31        0        0        0

 

Version 4 (CL 5 kernel):

 

4:LVE        EP        lCPU        lIO        CPU        MEM        IO        lMEM        lEP        nCPU        fMEM        fEP
0        0        25        25        0        0        0        262144        20        1        0        0
300        0        25        25        15103019        0        0        262144        20        1        0        0

 

 

Label

Description

Value

Supported versions

LVE

LVE ID

number


EP

Number of entry processes

number


lCPU

CPU Limit

% relative to total CPU power


lIO

IO limitsfor CL6 or IO priority for CL5

KB/s for v6, from 1 to 100 for v4


CPU

CPU usage since reboot

in nanoseconds for v6, hertz for v4


MEM

Virtual memory usage

number of 4k pages


IO

IO usage

KB/s for v6, 0 for v4


lMEM

Virtual memory limit

number of 4k pages


lEP

Entry Processes limit

number


nCPU

Number of cores limit

number of cores


fMEM

Virtual memory faults

number of faults


fEP

Entry Processes faults

number of faults

v6+

lMEMPHY

Physical memory limit

number

v6+

lCPUW

CPU weight (not used)

from 1 to 100

v6+

lNPROC

Number of processes limit

number

v6+

MEMPHY

Physical memory usage

number of 4k pages

v6+

fMEMPHY

Physical memory faults

number of faults

v6+

NPROC

Number of processes

number

v6+

fNPROC

Number of processes faults

number of faults

v6+

IOPS

IO operations since reboot

number

v8+