Processor idle time, expressed in processor ticks. Reported
for Windows, AIX® and Linux systems
only. This measurement
represents the aggregate for all processors on the system.
Usage
- This measurement
represents the aggregate for all processors on the system.
- On AIX, this metric is reported
for the workload partition (WPAR) and the logical partition (LPAR)
on which the DB2® server is running.
- You can use this monitor element along with the related processor
timer elements to calculate processor utilization for a specific time
interval on the host system. To calculate processor utilization as
a percentage, perform the following steps:
- Use the ENV_GET_SYSTEM_RESOURCES function at the beginning to
the time interval to retrieve the values for the following metrics:
- cpu_usert1 = cpu_user
- cpu_systemt1 = cpu_system
- cpu_idlet1 = cpu_idle
- cpu_waitt1 = cpu_wait
- Repeat the preceding step to determine the timestamps for the
same metrics at the end of the time interval for which you want to
calculate processor utilization:
- cpu_usert2 = cpu_user
- cpu_systemt2 = cpu_system
- cpu_idlet2 = cpu_idle
- cpu_iowaitt2 = cpu_iowait
- Calculate processor utilization using the following formula:
(cpu_systemt2 - cpu_systemt1) + (cpu_usert2 - cpu_usert1)
100 × ----------------------------------------------------------
(cpu_systemt2 - cpu_systemt1) + (cpu_usert2 - cpu_usert1) +
(cpu_idlet2 - cpu_idlet1) + (cpu_iowaitt2 - cpu_iowaitt1)