summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Garces-Erice <lge@ieee.org>2009-12-07 05:30:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-10 05:59:52 +0300
commite3cc2226e99cfadbf300dde892c4a16d742a0856 (patch)
tree88eb2361112f7147d11ccc04e3a511edd7a51078
parentbfc9dcabd513334c1d888ab66f7b7d84a3159571 (diff)
downloadlinux-e3cc2226e99cfadbf300dde892c4a16d742a0856.tar.xz
Doc: better explanation of procs_running
the description in Documentation/filesystems/proc.txt of the procs_running entry in /proc/stat is confusing (according to that description, it looks as if procs_running could only be a number between 0 and the number of CPUs). Changed it to a more accurate description in the patch attached. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Documentation/filesystems/proc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 4af0018533f2..94b9f2056f4c 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -1089,8 +1089,8 @@ The "processes" line gives the number of processes and threads created, which
includes (but is not limited to) those created by calls to the fork() and
clone() system calls.
-The "procs_running" line gives the number of processes currently running on
-CPUs.
+The "procs_running" line gives the total number of threads that are
+running or ready to run (i.e., the total number of runnable threads).
The "procs_blocked" line gives the number of processes currently blocked,
waiting for I/O to complete.