File info and format for /var/lve/info file

Navigation:  Limits > Command Line Tools > lve-stats 2 >

File info and format for /var/lve/info file

Previous pageReturn to chapter overviewNext page

This file is used by control panels to display to user their 'current' usage. The file is updated every 5 seconds by lve-stats.

 

When writing to this file we make sure that: average CPU/IOPS/MEM is never more then LIMIT for that resource.

 

Example:

 

0,0,20,0,2500,0,262144,0,0,262144,0,0,100,0,0,0,0,1024,1024,0,0,0,0

600,1,20,2492,2500,70,262144,0,0,262144,33,0,100,1,0,0,0,1024,1024,0,5,0,0

200,0,20,0,2500,0,262144,0,0,262144,0,0,100,0,0,0,0,1024,1024,0,0,0,0

500,0,20,0,2500,0,262144,0,0,262144,0,0,100,0,0,0,0,1024,1024,0,0,0,0

 

First line of the file is 'default limits'.

 

Fields:

 

# 0 - id

# 1 - mep (average entry processes)

# 2 - lep  (limit ...)

# 3 - cpu_usage (average speed)

# 4 - lcpu (limit spped)

# 5 - mem_usage (average virtual memory)

# 6 - lmem (limit ...)

# 7 - mem_fault (number of virtual memory faults)

# 8 - mep_fault (number of entry processes faults)

LVE_VERSION >=6

# 9 - lmemphy (limit physical memory)

# 10 - memphy (average ...)

# 11 - memphy_fault (faults ...)

# 12 - lnproc (limit number of processes)

# 13 - nproc (average ...)

# 14 - nproc_fault (faults ...)

# 15 - lcpuw (CPU weight -- deprecated not used)

# 16 - io_usage (average IO usage)

# 17 - io_limit (limit ...)

LVE_VERSION >=8

#18 - liops  (limit IOPS)

#19 - iops (average IOPS)