diff options
Diffstat (limited to 'man5/proc.5')
-rw-r--r-- | man5/proc.5 | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 43468943..e235cb62 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -286,6 +286,47 @@ Thus the example command above could be written as: .RB "$" " foobar \-i /dev/stdin \-o /dev/stdout ..." .fi .in +.\" FIXME Describe /proc/[pid]/loginuid +.\" Added in 2.6.11; updating requires CAP_AUDIT_CONTROL +.\" CONFIG_AUDITSYSCALL +.TP +.IR /proc/[pid]/fdinfo/ " (since kernel 2.6.22)" +This is a subdirectory containing one entry for each file which the +process has open, named by its file descriptor. +The contents of each file can be read to obtain information +about the corresponding file descriptor, for example: +.in +4n +.nf + +.RB "$" " cat /proc/12015/fdinfo/4" +pos: 1000 +flags: 01002002 +.fi +.in + +The +.I pos +field is a decimal number showing the current file offset. +The +.I flags +field is an octal number that displays the +file access mode and file status flags (see +.BR open (2)). + +The files in this directory are readable only by the owner of the process. +.\" FIXME document /proc/[pid]/io +.\" .TP +.\" .IR /proc/[pid]/io " (since kernel 2.6.20)" +.TP +.IR /proc/[pid]/limits " (since kernel 2.6.24)" +This file displays the soft limit, hard limit, and units of measurement +for each of the process's resource limits (see +.BR getrlimit (2)). +Up to and including Linux 2.6.35, +this file is protected to allow reading only by the real UID of the process. +Since Linux 2.6.36, +.\" commit 3036e7b490bf7878c6dae952eec5fb87b1106589 +this file is readable by all users on the system. .TP .IR /proc/[pid]/map_files/ " (since kernel 3.3) .\" commit 640708a2cff7f81e246243b0073c66e6ece7e53e @@ -329,47 +370,6 @@ lrw\-\-\-\-\-\-\-. 1 root root 64 Apr 16 21:33 This directory appears only if the .B CONFIG_CHECKPOINT_RESTORE kernel configuration option is enabled. -.\" FIXME Describe /proc/[pid]/loginuid -.\" Added in 2.6.11; updating requires CAP_AUDIT_CONTROL -.\" CONFIG_AUDITSYSCALL -.TP -.IR /proc/[pid]/fdinfo/ " (since kernel 2.6.22)" -This is a subdirectory containing one entry for each file which the -process has open, named by its file descriptor. -The contents of each file can be read to obtain information -about the corresponding file descriptor, for example: -.in +4n -.nf - -.RB "$" " cat /proc/12015/fdinfo/4" -pos: 1000 -flags: 01002002 -.fi -.in - -The -.I pos -field is a decimal number showing the current file offset. -The -.I flags -field is an octal number that displays the -file access mode and file status flags (see -.BR open (2)). - -The files in this directory are readable only by the owner of the process. -.\" FIXME document /proc/[pid]/io -.\" .TP -.\" .IR /proc/[pid]/io " (since kernel 2.6.20)" -.TP -.IR /proc/[pid]/limits " (since kernel 2.6.24)" -This file displays the soft limit, hard limit, and units of measurement -for each of the process's resource limits (see -.BR getrlimit (2)). -Up to and including Linux 2.6.35, -this file is protected to allow reading only by the real UID of the process. -Since Linux 2.6.36, -.\" commit 3036e7b490bf7878c6dae952eec5fb87b1106589 -this file is readable by all users on the system. .TP .I /proc/[pid]/maps A file containing the currently mapped memory regions and their access |