mirror of https://github.com/mkerrisk/man-pages
proc.5: Reorganize text describing /proc/stat "cpu" fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
aa610245c8
commit
ae3b804737
53
man5/proc.5
53
man5/proc.5
|
@ -58,7 +58,7 @@
|
|||
.\" to see what information could be imported from that file
|
||||
.\" into this file.
|
||||
.\"
|
||||
.TH PROC 5 2012-12-22 "Linux" "Linux Programmer's Manual"
|
||||
.TH PROC 5 2012-12-27 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
proc \- process information pseudo-file system
|
||||
.SH DESCRIPTION
|
||||
|
@ -2049,32 +2049,43 @@ USER_HZ (1/100ths of a second on most architectures, use
|
|||
.IR sysconf(_SC_CLK_TCK)
|
||||
to obtain the right value),
|
||||
.\" 1024 on Alpha and ia64
|
||||
that the system spent in user mode,
|
||||
user mode with low priority (nice), system mode, and the
|
||||
idle task, respectively.
|
||||
that the system spent in various states:
|
||||
.RS
|
||||
.TP
|
||||
.I user
|
||||
Time spent in user mode.
|
||||
.TP
|
||||
.I nice
|
||||
Time spent in user mode with low priority (nice)
|
||||
.TP
|
||||
.I system
|
||||
Time spent in system mode
|
||||
.TP
|
||||
.I idle
|
||||
Time spent in the idle task.
|
||||
.\" FIXME Actually, the following info about the /proc/stat 'cpu' field
|
||||
.\" does not seem to be quite right (at least in 2.6.12)
|
||||
The last value should be USER_HZ times the
|
||||
This value should be USER_HZ times the
|
||||
second entry in the uptime pseudo-file.
|
||||
|
||||
In Linux 2.6 this line includes three additional columns:
|
||||
.I iowait
|
||||
\- time waiting for I/O to complete (since 2.5.41);
|
||||
.I irq
|
||||
\- time servicing interrupts (since 2.6.0-test4);
|
||||
.I softirq
|
||||
\- time servicing softirqs (since 2.6.0-test4).
|
||||
|
||||
Since Linux 2.6.11, there is an eighth column,
|
||||
.I steal
|
||||
\- stolen time, which is the time spent in other operating systems when
|
||||
.TP
|
||||
.IR iowait " (since Linux 2.5.41)"
|
||||
Time waiting for I/O to complete.
|
||||
.TP
|
||||
.IR irq " (since Linux 2.6.0-test4)"
|
||||
Time servicing interrupts.
|
||||
.TP
|
||||
.I softirq " (since Linux 2.6.0-test4)"
|
||||
Time servicing softirqs.
|
||||
.TP
|
||||
.IR steal " (since Linux 2.6.11)"
|
||||
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
|
||||
.TP
|
||||
.IR guest " (since Linux 2.6.24)"
|
||||
The time spent running a virtual CPU for guest
|
||||
operating systems under the control of the Linux kernel.
|
||||
.\" See Changelog entry for 5e84cfde51cf303d368fcb48f22059f37b3872de
|
||||
.RE
|
||||
.TP
|
||||
\fIpage 5741 1808\fP
|
||||
The number of pages the system paged in and the number that were paged
|
||||
|
|
Loading…
Reference in New Issue