From: Michael Kerrisk <mtk.manpages@gmail.com>
To: Laurent Vivier <Laurent.Vivier@bull.net>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>,
ap@zip.com.au, lkml <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>
Subject: /proc 2.6.24 changes for guest CPU accounting
Date: Sun, 22 Jun 2008 09:31:00 +0200 [thread overview]
Message-ID: <485DFFB4.3080008@gmail.com> (raw)
Hi Laurent,
A note and patch from Samuel alerted me to your commits
9ac52315d4cf5f561f36dabaf0720c00d3553162 and
5e84cfde51cf303d368fcb48f22059f37b3872de, which in 2.6.24 changed /proc/stat
and /proc/PID/stat. Would you please CC me on kernel-userspace interface
changes, so that they have a chance of getting documented in man-pages.
(I see that Andrew P tried to get something added to
Documentation/filesystems/proc.txt, but that doesn't seem to have made it in.)
Below is a patch against the proc.5 man page by Samuel and I to document these
changes. Do the changes look okay to you? The first part is the change for
/proc/<pid>/stat, and the other is for /proc/stat.
Cheers,
Michael
===================================================================
--- proc.5 (revision 4046)
+++ proc.5 (working copy)
@@ -753,6 +753,13 @@
.TP
\fIdelayacct_blkio_ticks\fP %llu (since Linux 2.6.18)
Aggregated block I/O delays, measured in clock ticks (centiseconds).
+.TP
+\fIguest_time\fP %lu (since Linux 2.6.24)
+Guest time of the process (time spent running a virtual CPU
+for a guest operating system), in centiseconds.
+.TP
+\fIcguest_time\fP %ld (since Linux 2.6.24)
+Guest time of the process's children, in centiseconds.
.RE
.TP
.I /proc/[number]/statm
@@ -1510,6 +1517,12 @@
.I steal
\- stolen time, which is the time spent in other operating systems when
running in a virtualized environment
+
+Since Linux 2.6.24, there is a ninth column,
+.IR guest ,
+which is the time spent running a virtual CPU for guest
+operating systems under teh control of the Linux kernel.
+.\" See Changelog entry for 5e84cfde51cf303d368fcb48f22059f37b3872de
.TP
\fIpage 5741 1808\fP
The number of pages the system paged in and the number that were paged
next reply other threads:[~2008-06-23 8:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-22 7:31 Michael Kerrisk [this message]
2008-06-23 8:28 ` /proc 2.6.24 changes for guest CPU accounting Christian Borntraeger
2008-06-23 8:48 ` Laurent Vivier
2008-06-23 10:51 ` Michael Kerrisk
2008-06-24 12:39 ` AP
2008-06-24 12:43 ` [PATCH] Documentation: add descs for guest fields in stat procfs files AP
2008-06-24 20:38 ` Laurent Vivier
2008-06-25 3:28 ` Michael Kerrisk
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=485DFFB4.3080008@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=Laurent.Vivier@bull.net \
--cc=ap@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=samuel.thibault@ens-lyon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox