containers / youki

A container runtime written in Rust

Home Page:https://containers.github.io/youki/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libcgroups v2 manager stats doesn't set cpu throttling field

Sherlock-Holo opened this issue · comments

fn stats(cgroup_path: &Path) -> Result<Self::Stats, Self::Error> {

we can see the v2 manager stats doesn't set cpu throttling field, user can't get the cpu.max data when using v2 manager

@Sherlock-Holo Thanks for your report. May I ask you to contribute?