Re: [Patch v2] cgroup: pretty format /proc/cgroups

From: Michal Koutný
Date: Tue Nov 16 2021 - 13:00:27 EST


Hello.

On Mon, Nov 15, 2021 at 01:12:53AM +0000, Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
> Let's align the title and value. After this patch, it looks like this.

For machines this change may come as a surprise (so better not change
it).

For humans (for instance column from util-linux)

$ column -t /proc/cgroups
#subsys_name hierarchy num_cgroups enabled
cpuset 11 2 1
cpu 4 9 1
cpuacct 4 9 1
...

Michal