diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
| -rw-r--r-- | Documentation/filesystems/proc.txt | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index a07ba61662ed..c3b6b301d8b0 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
| @@ -200,12 +200,12 @@ contains details information about the process itself. Its fields are | |||
| 200 | explained in Table 1-4. | 200 | explained in Table 1-4. |
| 201 | 201 | ||
| 202 | (for SMP CONFIG users) | 202 | (for SMP CONFIG users) |
| 203 | For making accounting scalable, RSS related information are handled in | 203 | For making accounting scalable, RSS related information are handled in an |
| 204 | asynchronous manner and the vaule may not be very precise. To see a precise | 204 | asynchronous manner and the value may not be very precise. To see a precise |
| 205 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. | 205 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. |
| 206 | It's slow but very precise. | 206 | It's slow but very precise. |
| 207 | 207 | ||
| 208 | Table 1-2: Contents of the status files (as of 2.6.30-rc7) | 208 | Table 1-2: Contents of the status files (as of 3.20.0) |
| 209 | .............................................................................. | 209 | .............................................................................. |
| 210 | Field Content | 210 | Field Content |
| 211 | Name filename of the executable | 211 | Name filename of the executable |
| @@ -213,6 +213,7 @@ Table 1-2: Contents of the status files (as of 2.6.30-rc7) | |||
| 213 | in an uninterruptible wait, Z is zombie, | 213 | in an uninterruptible wait, Z is zombie, |
| 214 | T is traced or stopped) | 214 | T is traced or stopped) |
| 215 | Tgid thread group ID | 215 | Tgid thread group ID |
| 216 | Ngid NUMA group ID (0 if none) | ||
| 216 | Pid process id | 217 | Pid process id |
| 217 | PPid process id of the parent process | 218 | PPid process id of the parent process |
| 218 | TracerPid PID of process tracing this process (0 if not) | 219 | TracerPid PID of process tracing this process (0 if not) |
| @@ -220,6 +221,10 @@ Table 1-2: Contents of the status files (as of 2.6.30-rc7) | |||
| 220 | Gid Real, effective, saved set, and file system GIDs | 221 | Gid Real, effective, saved set, and file system GIDs |
| 221 | FDSize number of file descriptor slots currently allocated | 222 | FDSize number of file descriptor slots currently allocated |
| 222 | Groups supplementary group list | 223 | Groups supplementary group list |
| 224 | NStgid descendant namespace thread group ID hierarchy | ||
| 225 | NSpid descendant namespace process ID hierarchy | ||
| 226 | NSpgid descendant namespace process group ID hierarchy | ||
| 227 | NSsid descendant namespace session ID hierarchy | ||
| 223 | VmPeak peak virtual memory size | 228 | VmPeak peak virtual memory size |
| 224 | VmSize total program size | 229 | VmSize total program size |
| 225 | VmLck locked memory size | 230 | VmLck locked memory size |
| @@ -1255,9 +1260,9 @@ Various pieces of information about kernel activity are available in the | |||
| 1255 | since the system first booted. For a quick look, simply cat the file: | 1260 | since the system first booted. For a quick look, simply cat the file: |
| 1256 | 1261 | ||
| 1257 | > cat /proc/stat | 1262 | > cat /proc/stat |
| 1258 | cpu 2255 34 2290 22625563 6290 127 456 0 0 | 1263 | cpu 2255 34 2290 22625563 6290 127 456 0 0 0 |
| 1259 | cpu0 1132 34 1441 11311718 3675 127 438 0 0 | 1264 | cpu0 1132 34 1441 11311718 3675 127 438 0 0 0 |
| 1260 | cpu1 1123 0 849 11313845 2614 0 18 0 0 | 1265 | cpu1 1123 0 849 11313845 2614 0 18 0 0 0 |
| 1261 | intr 114930548 113199788 3 0 5 263 0 4 [... lots more numbers ...] | 1266 | intr 114930548 113199788 3 0 5 263 0 4 [... lots more numbers ...] |
| 1262 | ctxt 1990473 | 1267 | ctxt 1990473 |
| 1263 | btime 1062191376 | 1268 | btime 1062191376 |
| @@ -1704,6 +1709,10 @@ A typical output is | |||
| 1704 | flags: 0100002 | 1709 | flags: 0100002 |
| 1705 | mnt_id: 19 | 1710 | mnt_id: 19 |
| 1706 | 1711 | ||
| 1712 | All locks associated with a file descriptor are shown in its fdinfo too. | ||
| 1713 | |||
| 1714 | lock: 1: FLOCK ADVISORY WRITE 359 00:13:11691 0 EOF | ||
| 1715 | |||
| 1707 | The files such as eventfd, fsnotify, signalfd, epoll among the regular pos/flags | 1716 | The files such as eventfd, fsnotify, signalfd, epoll among the regular pos/flags |
| 1708 | pair provide additional information particular to the objects they represent. | 1717 | pair provide additional information particular to the objects they represent. |
| 1709 | 1718 | ||
