Proc/Bus - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

— The status of the process.
stat
— The status of the memory in use by the process. Below is a sample
statm
file:
263 210 210 5 0 205 0
The seven columns relate to different memory statistics for the process. From left to right,
they report the following aspects of the memory used:
1. Total program size, in kilobytes.
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.
— The status of the process in a more readable form than
status
output for
looks similar to the following:
sshd
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
or
(sleeping)
R (running)
regarding memory usage.
3.1.1.
/proc/self/
The
directory is a link to the currently running process. This allows a process to
/proc/self/
look at itself without having to know its process ID.
Within a shell environment, a listing of the
as listing the process directory for that process.
3.2.

/proc/bus/

This directory contains information specific to the various buses available on the system. For
), user/group ID running the process, and detailed data
/proc/self/
or
stat
statm
directory produces the same contents
/proc/bus/
/proc/statm
. Sample
S
67

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents