Red Hat LINUX 7.2 Reference Manual page 79

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 4.3:Directories in /proc
environ — Gives a list of the environment variables for the process. The environment variable
is given in all upper-case characters, and the value is in lower-case characters.
exe — A link to the executable of this process.
fd — A directory containing all of the file descriptors for a particular process. These are given
in numbered links:
[root@bleach /]# ls -l /proc/14466/fd
total 0
lrwx------
lrwx------
lrwx------
lrwx------
lrwx------
lrwx------
lrwx------
lrwx------
[root@bleach /]#
maps — Contains memory maps to the various executables and library files associated with this
process. This file can be rather long, depending upon the complexity of the process, but sample
output from the sshd process begins like this:
08048000-08080000 r-xp 00000000 03:05 226209
08080000-08082000 rw-p 00037000 03:05 226209
08082000-080c3000 rwxp 00000000 00:00 0
40000000-40016000 r-xp 00000000 03:05 304721
40016000-40017000 rw-p 00015000 03:05 304721
40017000-40018000 rw-p 00000000 00:00 0
40019000-4001b000 r-xp 00000000 03:05 144433
4001b000-4001c000 rw-p 00001000 03:05 144433
mem — The memory held by the process.
root — A link to the root directory of the process.
stat — A status of the process.
statm — A status of the memory in use by the process. Sample statm files look like this:
140 72 63 22 0 50 22
The seven columns relate to different memory statistics for the process. In order of how they are
displayed, from right to left, they report different aspects of the memory used:
1.
Total program size, in kilobytes
2.
Size of memory portions, in kilobytes
1 root
root
1 root
root
1 root
root
1 root
root
1 root
root
1 root
root
1 root
root
1 root
root
64 May
8 11:31 0 -> /dev/null
64 May
8 11:31 1 -> /dev/null
64 May
8 11:31 2 -> /dev/null
64 May
8 11:31 3 -> /dev/ptmx
64 May
8 11:31 4 -> socket:[7774817]
64 May
8 11:31 5 -> /dev/ptmx
64 May
8 11:31 6 -> socket:[7774829]
64 May
8 11:31 7 -> /dev/ptmx
/usr/sbin/sshd
/usr/sbin/sshd
/lib/ld-2.2.2.so
/lib/ld-2.2.2.so
/lib/security/pam_stack.so
/lib/security/pam_stack.so
79

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX 7.2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Linux 7.2

Table of Contents