Proc/Bus - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 3. The proc File System
2. Size of memory portions, in kilobytes.
3. Number of pages that are shared.
4. Number of pages that are code.
5. Number of pages of data/stack.
6. Number of library pages.
7. Number of dirty pages.
• status — The status of the process in a more readable form than stat or statm. Sample output
for sshd looks similar to the following:
Name: sshd
State: S (sleeping)
Tgid: 797
Pid: 797
PPid: 1
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 32
Groups:
VmSize:
3072 kB
VmLck:
0 kB
VmRSS:
840 kB
VmData:
104 kB
VmStk:
12 kB
VmExe:
300 kB
VmLib:
2528 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000001000
SigCgt: 0000000000014005
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
The information in this output includes the process name and ID, the state (such as S (sleeping)
or R (running)), user/group ID running the process, and detailed data regarding memory usage.
3.3.1.1. /proc/self/
The /proc/self/ directory is a link to the currently running process. This allows a process to look at
itself without having to know its process ID.
Within a shell environment, a listing of the /proc/self/ directory produces the same contents as
listing the process directory for that process.

3.3.2. /proc/bus/

This directory contains information specific to the various buses available on the system. For example,
on a standard system containing PCI and USB buses, current data on each of these buses is available
within a subdirectory within /proc/bus/ by the same name, such as /proc/bus/pci/.
34

Advertisement

Table of Contents
loading

Table of Contents