aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/proc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r--Documentation/filesystems/proc.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 2c48f945546b..220cc6376ef8 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -38,6 +38,7 @@ Table of Contents
38 3.3 /proc/<pid>/io - Display the IO accounting fields 38 3.3 /proc/<pid>/io - Display the IO accounting fields
39 3.4 /proc/<pid>/coredump_filter - Core dump filtering settings 39 3.4 /proc/<pid>/coredump_filter - Core dump filtering settings
40 3.5 /proc/<pid>/mountinfo - Information about mounts 40 3.5 /proc/<pid>/mountinfo - Information about mounts
41 3.6 /proc/<pid>/comm & /proc/<pid>/task/<tid>/comm
41 42
42 43
43------------------------------------------------------------------------------ 44------------------------------------------------------------------------------
@@ -1072,7 +1073,8 @@ second). The meanings of the columns are as follows, from left to right:
1072- irq: servicing interrupts 1073- irq: servicing interrupts
1073- softirq: servicing softirqs 1074- softirq: servicing softirqs
1074- steal: involuntary wait 1075- steal: involuntary wait
1075- guest: running a guest 1076- guest: running a normal guest
1077- guest_nice: running a niced guest
1076 1078
1077The "intr" line gives counts of interrupts serviced since boot time, for each 1079The "intr" line gives counts of interrupts serviced since boot time, for each
1078of the possible system interrupts. The first column is the total of all 1080of the possible system interrupts. The first column is the total of all
@@ -1088,8 +1090,8 @@ The "processes" line gives the number of processes and threads created, which
1088includes (but is not limited to) those created by calls to the fork() and 1090includes (but is not limited to) those created by calls to the fork() and
1089clone() system calls. 1091clone() system calls.
1090 1092
1091The "procs_running" line gives the number of processes currently running on 1093The "procs_running" line gives the total number of threads that are
1092CPUs. 1094running or ready to run (i.e., the total number of runnable threads).
1093 1095
1094The "procs_blocked" line gives the number of processes currently blocked, 1096The "procs_blocked" line gives the number of processes currently blocked,
1095waiting for I/O to complete. 1097waiting for I/O to complete.
@@ -1408,3 +1410,11 @@ For more information on mount propagation see:
1408 1410
1409 Documentation/filesystems/sharedsubtree.txt 1411 Documentation/filesystems/sharedsubtree.txt
1410 1412
1413
14143.6 /proc/<pid>/comm & /proc/<pid>/task/<tid>/comm
1415--------------------------------------------------------
1416These files provide a method to access a tasks comm value. It also allows for
1417a task to set its own or one of its thread siblings comm value. The comm value
1418is limited in size compared to the cmdline value, so writing anything longer
1419then the kernel's TASK_COMM_LEN (currently 16 chars) will result in a truncated
1420comm value.