.\" to see what information could be imported from that file
.\" into this file.
.\"
-.TH PROC 5 2010-06-19 "Linux" "Linux Programmer's Manual"
+.TH PROC 5 2011-09-15 "Linux" "Linux Programmer's Manual"
.SH NAME
proc \- process information pseudo-file system
.SH DESCRIPTION
In the latter case, there is nothing in this file:
that is, a read on this file will return 0 characters.
The command-line arguments appear in this file as a set of
-null-separated strings,
-with a further null byte (\(aq\\0\(aq) after the last string.
+strings separated by null bytes (\(aq\\0\(aq),
+with a further null byte after the last string.
.TP
.IR /proc/[pid]/coredump_filter " (since kernel 2.6.23)"
See
.I /proc/self/fd/N
is approximately the same as
.I /dev/fd/N
-in some Unix and Unix-like systems.
+in some UNIX and UNIX-like systems.
Most Linux MAKEDEV scripts symbolically link
.I /dev/fd
to
.\" CONFIG_PROC_PAGE_MONITOR
.TP
.I /proc/[pid]/root
-Unix and Linux support the idea of a per-process root of the
+UNIX and Linux support the idea of a per-process root of the
file system, set by the
.BR chroot (2)
system call.
\fIrss\fP %ld
Resident Set Size: number of pages the process has in real memory.
This is just the pages which
-count towards text, data, or stack space.
+count toward text, data, or stack space.
This does not include pages
which have not been demand-loaded in, or which are swapped out.
.TP
Thread ID (see
.BR gettid (2)).
.IP *
+.IR PPid :
+PID of parent process.
+.IP *
.IR TracerPid :
PID of process tracing this process (0 if not being traced).
.IP *
Virtual memory size.
.IP *
.IR VmLck :
-Locked memory size.
+Locked memory size (see
+.BR mlock (3)).
.IP *
.IR VmHWM :
Peak resident set size ("high water mark").
.IR Threads :
Number of threads in process containing this thread.
.IP *
+.IR SigQ :
+This field contains two slash-separated numbers that relate to
+queued signals for the real user ID of this process.
+The first of these is the number of currently queued
+signals for this real user ID, and the second is the
+resource limit on the number of queued signals for this process
+(see the description of
+.BR RLIMIT_SIGPENDING
+in
+.BR getrlimit (2)).
+.IP *
.IR SigPnd ", " ShdPnd :
Number of signals pending for thread and for process as a whole (see
.BR pthreads (7)
.in +4n
.nf
-cat /lib/modules/$(uname -r)/build/.config
+cat /lib/modules/$(uname \-r)/build/.config
.fi
.in
.IP
.fi
.TP
.I /proc/net/unix
-Lists the Unix domain sockets present within the system and their
+Lists the UNIX domain sockets present within the system and their
status.
The format is:
.nf
of users of the socket, "Protocol" is currently always 0, "Flags"
represent the internal kernel flags holding the status of the
socket.
-Currently, type is always "1" (Unix domain datagram sockets are
+Currently, type is always "1" (UNIX domain datagram sockets are
not yet supported in the kernel).
\&"St" is the internal state of the
socket and Path is the bound path (if any) of the socket.
.TP
\fIprocs_running 6\fP
Number of processes in runnable state.
-(Linux 2.5.45 onwards.)
+(Linux 2.5.45 onward.)
.TP
\fIprocs_blocked 2\fP
Number of processes blocked waiting for I/O to complete.
-(Linux 2.5.45 onwards.)
+(Linux 2.5.45 onward.)
.RE
.TP
.I /proc/swaps
.I /proc/sys/kernel/msgmni
This file defines the system-wide limit on the number of
message queue identifiers.
-(This file is only present in Linux 2.4 onwards.)
+(This file is only present in Linux 2.4 onward.)
.TP
.I /proc/sys/kernel/msgmnb
This file defines a system-wide parameter used to initialize the
.IR console_loglevel .
.TP
.IR /proc/sys/kernel/pty " (since Linux 2.6.4)"
-This directory contains two files relating to the number of Unix 98
-pseudo-terminals (see
+This directory contains two files relating to the number of UNIX 98
+pseudoterminals (see
.BR pts (4))
on the system.
.TP
.I /proc/sys/kernel/pty/max
-This file defines the maximum number of pseudo-terminals.
+This file defines the maximum number of pseudoterminals.
.TP
.I /proc/sys/kernel/pty/nr
This read-only file
-indicates how many pseudo-terminals are currently in use.
+indicates how many pseudoterminals are currently in use.
.TP
.I /proc/sys/kernel/random
This directory
.BR SHMMAX .
.TP
.I /proc/sys/kernel/shmmni
-(available in Linux 2.4 and onwards)
+(available in Linux 2.4 and onward)
This file
specifies the system-wide maximum number of System V shared memory
segments that can be created.
.\" The following is from Documentation/sysctl/vm.txt
The value in this file controls how aggressively the kernel will swap
memory pages.
-Higher values increase agressiveness, lower values
+Higher values increase aggressiveness, lower values
decrease aggressiveness.
The default value is 60.
.TP