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

From: Wei Yang
Date: Tue Nov 16 2021 - 19:13:17 EST


On Tue, Nov 16, 2021 at 07:00:17PM +0100, Michal Koutn? wrote:
>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
>...
>

This is helpful, thanks.

>Michal

--
Wei Yang
Help you, Help me