Skip to content

Commit

Permalink
Doc: better explanation of procs_running
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Luis Garces-Erice authored and torvalds committed Dec 10, 2009
1 parent bfc9dca commit e3cc222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e3cc222

Please sign in to comment.