Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698215

Re: [PATCH] cgroup: add cgroup.stat interface with basic hierarchy stats

From Waiman Long <longman@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] cgroup: add cgroup.stat interface with basic hierarchy stats
Date 2017-07-27 19:40 +0200
Message-ID <u7UVs-zr-19@gated-at.bofh.it> (permalink)
References <u7TPI-8oO-15@gated-at.bofh.it>
Organization Red Hat

Show all headers | View raw


On 07/27/2017 12:14 PM, Roman Gushchin wrote:
> Add a cgroup.stat interface to the base cgroup control files
> with the following metrics:
>
> nr_descendants		total number of descendant cgroups
> nr_dying_descendants	total number of dying descendant cgroups
> max_descendant_depth	maximum descent depth below the current cgroup

Both nr_descendants and max_descendant_depth can be found easily from
userspace by scanning the cgroup directory. nr_dying_descendants is a
transient figure and it should be 0 most of the time. So I wonder how
useful it can be.

This new interface file will be more useful if it can reveal information
that cannot be easily obtained by looking from userspace alone.

Cheers,
Longman

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] cgroup: add cgroup.stat interface with basic hierarchy  stats Waiman Long <longman@redhat.com> - 2017-07-27 19:40 +0200
  Re: [PATCH] cgroup: add cgroup.stat interface with basic hierarchy  stats Waiman Long <longman@redhat.com> - 2017-07-27 20:00 +0200

csiph-web