NAME
API::Docker::Type::ContainerCPUUsage - All CPU stats aggregated since container inception
VERSION
version 0.004
DESCRIPTION
Generated from the ContainerCPUUsage definition of spec/v1.51.yaml.
total_usage
Total CPU time consumed in nanoseconds (Linux) or 100's of nanoseconds (Windows). Serialised as total_usage -- spelled out, because deriving it from the Perl name would produce TotalUsage.
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. Serialised as percpu_usage -- spelled out, because deriving it from the Perl name would produce PercpuUsage.
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. Serialised as usage_in_kernelmode -- spelled out, because deriving it from the Perl name would produce UsageInKernelmode.
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. Serialised as usage_in_usermode -- spelled out, because deriving it from the Perl name would produce UsageInUsermode.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.