Re: [RFC 0/2] Introduce cgroup.top interface

From: Tejun Heo
Date: Thu Aug 25 2022 - 23:17:18 EST


Hello,

On Fri, Aug 26, 2022 at 09:15:01AM +0800, Lu Jialin wrote:
> Cgroup is used to organize and manage resource available processes.
> Currently there are no handy tool for gathering reousrce usage
> information for each and every child cgroups, makes it hard to detect
> resource outage and debug resource issues.
>
> To overcome this, we present the cgroup.top interface. Just like the
> top command, user is able to easily gather resource usage information
> , allowing user to detect and respond to resource outage in child
> cgroups

I don't think this is something we want build into the kernel. Maybe what
you want is something similar to below?

https://github.com/facebookincubator/below

Thanks.

--
tejun