Hello, On Tue, Sep 26, 2023 at 11:01:08AM +0800, Yafang Shao wrote: > Thanks for your suggestion. I will think about it. > BTW, I can't find the hierarchy ID of systemd (/sys/fs/cgroup/systemd) > in /proc/cgroups. Is this intentional as part of the design, or might > it be possible that we overlooked it? > In the userspace, where can we find the hierarchy ID of a named hierarchy? Yeah, /proc/cgroups only prints the hierarchies which have controllers attached to them. The file is pretty sad in general. However, /proc/PID/cgroup prints all existing hierarchies along with their IDs and identifiers (controllers or names). Hopefully, that should be enough? Thanks. -- tejun