diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r-- | Documentation/filesystems/proc.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index a07ba61662ed..8e36c7e3c345 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 |
@@ -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 | ||