docker-sdk-rust/docs/ContainerCpuUsage.md
2025-06-16 16:37:36 +07:00

1.2 KiB

ContainerCpuUsage

Properties

Name Type Description Notes
total_usage Option<i32> Total CPU time consumed in nanoseconds (Linux) or 100's of nanoseconds (Windows). [optional]
percpu_usage Option<Vec> 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. [optional]
usage_in_kernelmode Option<i32> 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. [optional]
usage_in_usermode Option<i32> 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. [optional]

[Back to Model list] [Back to API list] [Back to README]