Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3cc2226 authored by Luis Garces-Erice's avatar Luis Garces-Erice Committed by Linus Torvalds
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bfc9dcab
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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
includes (but  is not limited  to) those  created by  calls to the  fork() and
clone() system calls.
clone() system calls.


The  "procs_running" line gives the  number of processes  currently running on
The "procs_running" line gives the total number of threads that are
CPUs.
running or ready to run (i.e., the total number of runnable threads).


The   "procs_blocked" line gives  the  number of  processes currently blocked,
The   "procs_blocked" line gives  the  number of  processes currently blocked,
waiting for I/O to complete.
waiting for I/O to complete.