]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Doc: better explanation of procs_running
authorLuis Garces-Erice <lge@ieee.org>
Mon, 7 Dec 2009 02:30:44 +0000 (18:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Dec 2009 02:59:52 +0000 (18:59 -0800)
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>
Documentation/filesystems/proc.txt

index 4af0018533f2249fe2aa835628e2b3c7614a711e..94b9f2056f4cf97fcddcad5c79f1130a95abe6b9 100644 (file)
@@ -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.