Skip to content

A patch that gives cpu.stats the ability to reset the counters like other cgroup components

License

Notifications You must be signed in to change notification settings

davetha/cgroups-cpu-stats-reset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cgroups-cpu-stats-reset

A patch that gives cpu.stats the ability to reset the counters like other cgroup components

This patch allows the cpu.stats values to be reset in cgroups without having to remove and recreate it. I wrote this patch because I had a use case where resetting the values was required. Many other components of cgroups allows stats to be reset, such as cpuacct.stats. To reset the stats, simple echo 0 > cpu.stats

About

A patch that gives cpu.stats the ability to reset the counters like other cgroup components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published