Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Performance Management - Remote Monitor for Virtual Machine Description, User's Guide and Reference


L.3 In KVM

This section describes the field values of the data sources in KVM.

Organization of this subsection

(1) Host CPU Status(PI_HCI)

The following table lists the data sources in each fields of the Host CPU Status(PI_HCI) record.

Table L‒29: The data sources in each fields of the Host CPU Status(PI_HCI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

CPU ID (CPU_ID)

The "processor" line in the "/proc/cpuinfo" file

CPU Name (CPU_NAME)

The "model name" line in the "/proc/cpuinfo" file

Sampling Time (SAMPLING_TIME)

date - Iseconds

Clocks (CLOCKS)

The value of "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq" file / 1000

In case of not exist the file "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", the "cpu MHz" value in "/proc/cpuinfo" file

Used (USED)

CLOCKS * (USED_PERCENT / 100)

Unused (UNUSED)

CLOCKS - USED

Used % (USED_PERCENT)

[Figure]The "cpu0~" line and the "usr+nice+sys"column in the "/proc/stat" file / [Figure]Collection time

Unused % (UNUSED_PERCENT)

100 - USED_PERCENT

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(2) Host Logical Disk Status(PI_HLDI)

The following table lists the data sources in each fields of the Host Logical Disk Status(PI_HLDI) record.

Table L‒30: The data sources in each fields of the Host Logical Disk Status(PI_HLDI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Disk ID (DISK_ID)

The "FileSystem" column in the result of "df -lkP"

Sampling Time (SAMPLING_TIME)

date -Iseconds

Size (SIZE)

The "1024-blocks" column in the result of "df -lkP" / 1024

Used (USED)

The "Used" column in the result of "df -lkP" / 1024

Free (FREE)

The "Available" column in the result of "df -lkP" / 1024

Used % (USED_PERCENT)

(USED / SIZE) * 100

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(3) Host Memory Status(PI_HMI)

The following table lists the data sources in each fields of the Host Memory Status(PI_HMI) record.

Table L‒31: The data sources in each fields of the Host Memory Status(PI_HMI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Size (SIZE)

"Mem:" line and "total" column in the result of "free -m"

Sampling Time (SAMPLING_TIME)

date -Iseconds

Used (USED)

"-/+ buffers/cache" line and "used" column in the result of "free -m"

VMM Used (VMM_USED)

"RSS" column in the result of "ps aux" / 1024

The total of ksmd, virt-manager, libvirtd processes

VM Used (VM_USED)

The total of PI_VMI.RESOURCE_USED

Unused (UNUSED)

"-/+ buffers/cache" line and "free" column in the result of "free -m"

VM Swap Used (VM_SWAP_USED)

The total of PI_VMI.VM_SWAP_USED

Host Swap Used (HOST_SWAP_USED)

The total of PI_VMI.HOST_SWAP_USED

Total Used (TOTAL_USED)

USED + VM_SWAP_USED + HOST_SWAP_USED

Used % (USED_PERCENT)

(USED / SIZE) * 100

VMM Used % (VMM_USED_PERCENT)

(VMM_USED / SIZE) * 100

VM Used % (VM_USED_PERCENT)

(VM_USED / SIZE) * 100

VM Swap Used % (VM_SWAP_USED_PERCENT)

(VM_SWAP_USED / SIZE) * 100

Host Swap Used % (HOST_SWAP_USED_PERCENT)

(HOST_SWAP_USED / SIZE) * 100

Total Used % (TOTAL_USED_PERCENT)

(TOTAL_USED / SIZE) * 100

Swap IO (SWAP_IO)

SWAP_IN_IO + SWAP_OUT_IO

Swap In IO (SWAP_IN_IO)

"pages swapped in" line in the result of "vmstat -s" * "getconf PAGE_SIZE" / 1024 / 1024

Swap Out IO (SWAP_OUT_IO)

"pages swapped out" line in the result of "vmstat -s" * "getconf PAGE_SIZE" / 1024 / 1024

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(4) Host Network Status(PI_HNI)

The following table lists the data sources in each fields of the Host Network Status(PI_HNI) record.

Table L‒32: The data sources in each fields of the Host Network Status(PI_HNI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Net ID (NET_ID)

The interface that do not use in "virsh dumpxml {domain}" among the "ifconfig"

Sampling Time (SAMPLING_TIME)

date -Iseconds

Rate (RATE)

SEND_RATE + RECV_RATE

Send Rate (SEND_RATE)

[Figure]TX bytes in the "ifconfig" / [Figure]collection time / 1024

Recv Rate (RECV_RATE)

[Figure]RX bytes in the "ifconfig" / [Figure]collection time / 1024

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(5) Host Physical Disk Status(PI_HPDI)

The following table lists the data sources in each fields of the Host Physical Disk Status(PI_HPDI) record.

Table L‒33: The data sources in each fields of the Host Physical Disk Status(PI_HPDI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Disk ID (DISK_ID)

The "Device:" column in the result of "iostat -x -k -d 1 1"

Sampling Time (SAMPLING_TIME)

date -Iseconds

Speed (SPEED)

READ_SPEED + WRITE_SPEED

Read Speed (READ_SPEED)

The "rkB/s" column in the result of "iostat -x -k -d 1 1"

Write Speed (WRITE_SPEED)

The "wkB/s" column in the result of "iostat -x -k -d 1 1"

Requests (REQUESTS)

READ_REQUESTS + WRITE_REQUESTS

Read Requests (READ_REQUESTS)

The "r/s" column in the result of "iostat -x -k -d 1 1"

Write Requests (WRITE_REQUESTS)

The "w/s" column in the result of "iostat -x -k -d 1 1"

Commands (COMMANDS)

--

Abort Commands (ABORT_COMMANDS)

--

Abort Commands % (ABORT_COMMANDS_PERCENT)

--

Bus Resets (BUS_RESETS)

--

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(6) Host Status Detail(PD)

The following table lists the data sources in each fields of the Host Status Detail(PD) record.

Table L‒34: The data sources in each fields of the Host Status Detail(PD) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Status (STATUS)

--

Host Name (HOST_NAME)

Setting for monitored

VM_Host parameter

Reason (REASON)

--

Product (PRODUCT)

Display each values of "virsh version" in comma separated value

VM Count (VM_COUNT)

The number of lines in "virsh list -all"

VM Active (VM_ACTIVE)

The number of lines which "status" in the result of "virsh list -all" is linage of "running,idle"

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(7) Host Status(PI)

The following table lists the data sources in each fields of the Host Status(PI) record.

Table L‒35: The data sources in each fields of the Host Status(PI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

Clocks (CLOCKS)

PI_HCI.CLOCKS * COUNT

Count (COUNT)

Count the number of CPUs in "/proc/cpuinfo"

Sampling Time (SAMPLING_TIME)

date -Iseconds

Used (USED)

CLOCKS * USED_PERCENT / 100

VMM Used (VMM_USED)

CLOCKS * VMM_USED_PRECENT / 100

VM Used (VM_USED)

CLOCKS * VM_USED_PERCENT / 100

VMM Console Used (VMM_CONSOLE_USED)

CLOCKS * VMM_CONSOLE_USED_PERCENT / 100

VMM Kernel Used (VMM_KERNEL_USED)

CLOCKS * VMM_KERNEL_USED_PERCENT / 100

VMM Others Used (VMM_OTHERS_USED)

CLOCKS * VMM_OTHERS_USED_PERCENT / 100

Unused (UNUSED)

CLOCKS - USED

Used % (USED_PERCENT)

[Figure](The "CPU" line and "usr+nice+sys" column in the "/proc/stat" file) / ([Figure]Collection time * 100 * COUNT) * 100

VMM Used % (VMM_USED_PERCENT)

USED_PERCENT - VM_USED_PERCENT

VM Used % (VM_USED_PERCENT)

[Figure](The "CPU" line and "guest" column in the "/proc/stat" file) / ([Figure]Collection time * 100 * COUNT) * 100

VMM Console Used % (VMM_CONSOLE_USED_PERCENT)

The "virt-manager" line and "PID" column in the result of "ps aux"

[Figure](The "PID" line and "TIME+" column of the "virt-manager" section in the result of "top -b -n 1") / ([Figure]Collection time * COUNT) * 100

VMM Kernel Used % (VMM_KERNEL_USED_PERCENT)

The "libvirtd, ksmd" line and "PID" column in the result of "ps aux"

[Figure](The "libvirtd,ksmd" line and "PID" column in the result of "top -b -n 1") / ([Figure]Collection time * COUNT) * 100

VMM Others Used % (VMM_OTHERS_USED_PERCENT)

VMM_USED_PERCENT - VMM_CONSOLE_USED_PERCENT - VMM_KERNEL_USED_PERCENT

Unused % (UNUSED_PERCENT)

UNUSED / CLOCKS * 100

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(8) VM CPU Status(PI_VCI)

The following table lists the data sources in each fields of the VM CPU Status(PI_VCI) record.

Table L‒36: The data sources in each fields of the VM CPU Status(PI_VCI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

PD_VM.VM_ID

CPU ID (CPU_ID)

The "VCPU" line in the result of "virsh vcpuinfo {domain}"

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

PD_VM.VM_NAME

Sampling Time (SAMPLING_TIME)

date -Iseconds

Used (USED)

PI_HCI.CLOCKS * USED_PERCENT / 100

Insufficient (INSUFFICIENT)

--

Request (REQUEST)

--

Used % (USED_PERCENT)

[Figure]The "CPU time" line in the result of "virsh vcpuinfo {domain}" / [Figure]Collection time * 100

Insufficient % (INSUFFICIENT_PERCENT)

--

Request % (REQUEST_PERCENT)

--

Used Per Request (USED_PER_REQUEST)

--

Insufficient Per Request (INSUFFICIENT_PER_REQUEST)

--

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(9) VM Logical Disk Status(PI_VLDI)

The following table lists the data sources in each fields of the VM Logical Disk Status(PI_VLDI) record.

Table L‒37: The data sources in each fields of the VM Logical Disk Status(PI_VLDI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

--

Disk ID (DISK_ID)

--

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

--

Sampling Time (SAMPLING_TIME)

--

Size (SIZE)

--

Used (USED)

--

Free (FREE)

--

Used % (USED_PERCENT)

--

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(10) VM Memory Status(PI_VMI)

The following table lists the data sources in each fields of the VM Memory Status(PI_VMI) record.

Table L‒38: The data sources in each fields of the VM Memory Status(PI_VMI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

PD_VM.VM_ID

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

PD_VM.VM_NAME

Sampling Time (SAMPLING_TIME)

date -Iseconds

Size (SIZE)

The "Kbytes" value in "total" line and in the result of "pmap -x {pid}" / 1024

Used (USED)

SIZE

Resource Used (RESOURCE_USED)

The "Dirty" value in "total" line and in the result of "pmap -x {pid}" / 1024

VM Swap Used (VM_SWAP_USED)

The "RSS" value in "total" line and in the result of "pmap -x {pid}" / 1024 - Resource Used

Host Swap Used (HOST_SWAP_USED)

SIZE - The "RSS" value in "total" line and in the result of "pmap -x {pid}" / 1024

Unused (UNUSED)

0(Fixed)

Used % (USED_PERCENT)

(USED / SIZE) * 100

Resource Used % (RESOURCE_USED_PERCENT)

(RESOURCE_USED / SIZE) * 100

VM Swap Used % (VM_SWAP_USED_PERCENT)

(VM_SWAP_USED / SIZE) * 100

Host Swap Used % (HOST_SWAP_USED_PERCENT)

(HOST_SWAP_USED / SIZE) * 100

VM Swap IO (VM_SWAP_IO)

--

VM Swap In (VM_SWAP_IN)

--

VM Swap Out (VM_SWAP_OUT)

--

Working Size (WORKING_SIZE)

The "Usedmemory" line in the result of "virsh dominfo {domain}" / 1024

Working Size % (WORKING_SIZE_PERCENT)

(WORKING_SIZE / SIZE) * 100

Share (SHARE)

--

Max (MAX)

The "Max memory" line in the result of "virsh dominfo {domain}"

Min (MIN)

--

Expectation (EXPECTATION)

--

Max % (MAX_PERCENT)

MAX / PI_HMI.SIZE * 100

Min % (MIN_PERCENT)

--

Expectation % (EXPECTATION_PERCENT)

--

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(11) VM Network Status(PI_VNI)

The following table lists the data sources in each fields of the VM Network Status(PI_VNI) record.

Table L‒39: The data sources in each fields of the VM Network Status(PI_VNI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

PD_VM.VM_ID

Net ID (NET_ID)

The "interface" value in the result of "virsh dumpxml {domain}" / mac address

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

PD_VM.VM_NAME

Sampling Time (SAMPLING_TIME)

date -Iseconds

Rate (RATE)

SEND_RATE + RECV_RATE

Send Rate (SEND_RATE)

([Figure]"RX bytes" value in the result of "ifconfig" / [Figure]Collection time) / 1024

Recv Rate (RECV_RATE)

([Figure]"TX bytes" value in the result of "ifconfig" / [Figure]Collection time) / 1024

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(12) VM Physical Disk Status(PI_VPDI)

The following table lists the data sources in each fields of the VM Physical Disk Status(PI_VPDI) record.

Table L‒40: The data sources in each fields of the VM Physical Disk Status(PI_VPDI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

PD_VM.VM_ID

Disk ID (DISK_ID)

The character string in the "source file=''" which is inside of the "<disk type='file' device='disk'>" in the result of "dumpxml {domain}"

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

PD_VM.VM_NAME

Sampling Time (SAMPLING_TIME)

date -Iseconds

Speed (SPEED)

READ_SPEED + WRITE_SPEED

Read Speed (READ_SPEED)

([Figure]The "rd_bytes" line in the result of "virsh domblkstat {domain} {device}" / [Figure]Collection time) / 1024

Write Speed (WRITE_SPEED)

([Figure]The "wr_bytes" line in the result of "virsh domblkstat {domain} {device}" / [Figure]Collection time) / 1024

Requests (REQUESTS)

READ_REQUESTS + WRITE_REQUESTS

Read Requests (READ_REQUESTS)

[Figure]The "rd_req" line in the result of "virsh domblkstat {domain} {device}" / [Figure]Collection time

Write Requests (WRITE_REQUESTS)

[Figure]The "wr_req" line in the result of "virsh domblkstat {domain} {device}" / [Figure]Collection time

Commands (COMMANDS)

--

Abort Commands (ABORT_COMMANDS)

--

Abort Commands % (ABORT_COMMANDS_PERCENT)

--

Bus Resets (BUS_RESETS)

--

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.

(13) VM Status Detail(PD_VM)

The following table lists the data sources in each fields of the VM Status Detail(PD_VM) record.

Table L‒41: The data sources in each fields of the VM Status Detail(PD_VM) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

The "UUID" line in the result of "virsh dominfo {domain}"

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

The "Name" column in the result of "virsh list -all"

Status (STATUS)

The "state" line in the result of "virsh dominfo {domain}"

Information (INFORMATION)

The "OS Type" line in the result of "virsh dominfo {domain}"

Legend:

--: The field stores the raw (not altered) value of performance data acquired.

(14) VM Status(PI_VI)

The following table lists the data sources in each fields of the VM Status(PI_VI) record.

Table L‒42: The data sources in each fields of the VM Status(PI_VI) record (KVM)

PFM - View name

(PFM - Manager name)

Data Sources

Record Type (INPUT_RECORD_TYPE)

--

Record Time (RECORD_TIME)

--

Interval (INTERVAL)

--

VA DeviceID (VADEVICEID)

--

VM ID (VM_ID)

PD_VM.VM_ID

Clocks (CLOCKS)

PI_HCI.CLOCKS * The number of usable CPUs

Count (COUNT)

The "CPU(s)" line in the result of "virsh dominfo {domain}"

VM Host Name (VM_HOST_NAME)

--

VM Name (VM_NAME)

PD_VM.VM_NAME

Sampling Time (SAMPLING_TIME)

date -Iseconds

Used (USED)

CLOCKS * USED_PERCENT / 100

Insufficient (INSUFFICIENT)

--

Request (REQUEST)

--

Host Used % (HOST_USED_PERCENT)

USED / PI.CLOCKS * 100

Used % (USED_PERCENT)

The "QEMU" line and "PID" column in the result of "ps aux"

[Figure]The "PID" line and "TIME+" column in the result of "top -b -n 1" / ([Figure]Collection time * COUNT)

Insufficient % (INSUFFICIENT_PERCENT)

--

Request % (REQUEST_PERCENT)

--

Used Per Request (USED_PER_REQUEST)

--

Insufficient Per Request (INSUFFICIENT_PER_REQUEST)

--

Affinity (AFFINITY)

The "CPU Affinity" column in the result of "virsh vcpuinfo {domain}"

Share (SHARE)

--

Max (MAX)

CLOCKS

Min (MIN)

--

Expectation (EXPECTATION)

--

Max % (MAX_PERCENT)

100%(Fixed)

Min % (MIN_PERCENT)

--

Expectation % (EXPECTATION_PERCENT)

--

Legend:

[Figure]: This time collected value - Last time collected value.

--: The field stores the raw (not altered) value of performance data acquired.