Container CPUUsage
constructor(totalUsage: Int? = null, percpuUsage: List<Int>? = null, usageInKernelmode: Int? = null, usageInUsermode: Int? = null)
Parameters
total Usage
Total CPU time consumed in nanoseconds (Linux) or 100's of nanoseconds (Windows).
percpu Usage
Total CPU time (in nanoseconds) consumed per core (Linux). This field is Linux-specific when using cgroups v1. It is omitted when using cgroups v2 and Windows containers.
usage In Kernelmode
Time (in nanoseconds) spent by tasks of the cgroup in kernel mode (Linux), or time spent (in 100's of nanoseconds) by all container processes in kernel mode (Windows). Not populated for Windows containers using Hyper-V isolation.
usage In Usermode
Time (in nanoseconds) spent by tasks of the cgroup in user mode (Linux), or time spent (in 100's of nanoseconds) by all container processes in kernel mode (Windows). Not populated for Windows containers using Hyper-V isolation.