All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivana Hutarova Varekova <varekova-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: proc.5 /proc/[pid]/cgroup patch
Date: Fri, 27 May 2011 10:37:39 +0200	[thread overview]
Message-ID: <4DDF62D3.6080700@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

Hello,
I'm sending the patch for proc.5 which adds the information about 
/proc/[pid]/cgroup.
Ivana Hutarova Varekova

[-- Attachment #2: man-pages-3.23-proc_cgroups.patch --]
[-- Type: text/x-patch, Size: 1307 bytes --]

diff -up man-pages-3.32/man5/proc.5.pom man-pages-3.32/man5/proc.5
--- man-pages-3.32/man5/proc.5.pom	2011-05-27 10:11:52.000000000 +0200
+++ man-pages-3.32/man5/proc.5	2011-05-27 09:17:37.000000000 +0200
@@ -94,12 +94,35 @@ to the process at exec time.
 The format is one \fIunsigned long\fP ID
 plus one \fIunsigned long\fP value for each entry.
 The last entry contains two zeros.
-.\" FIXME Describe /proc/[pid]/cgroup and
-.\"       /proc/[pid]/task/[tid]/cgroup
-.\" 	  Info in Documentation/cgroups.txt
-.\"       Added in 2.6.24
-.\"	  CONFIG_CGROUPS
-.\"
+.TP
+.I /proc/[pid]/cgroup " (since Linux 2.6.24)"
+This file describes control groups to which the process/task
+belongs. For each cgroup hierarchy there is one entry of the form
+.nf
+.ft CW
+
+  5:cpuacct,cpu,cpuset:/daemons
+(1)         (2)          (3)
+.ft
+.fi
+.IP
+The numbers in parentheses are labels for the descriptions below:
+.RS 7
+.TP 5
+(1)
+hierarchy id number
+.TP
+(2)
+set of subsystems bound to the hierarchy
+.TP
+(3)
+control group in the hierarchy to which the process belongs
+.RE
+.IP
+
+This file is only present if the
+.B CONFIG_CGROUPS
+kernel configuration option is enabled.
 .\" FIXME Describe /proc/[pid]/clear_refs
 .\"       Added in 2.6.22
 .\"       "Clears page referenced bits shown in smaps output"

                 reply	other threads:[~2011-05-27  8:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DDF62D3.6080700@redhat.com \
    --to=varekova-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.