Proc - Red Hat ENTERPRISE LINUX 3 Reference Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

60
5.2.29.
/proc/swaps
This file measures swap space and its utilization. For a system with only one swap partition, the output
of
may look similar to the following:
/proc/swap
Filename
Type
/dev/hda6
partition
While some of this information can be found in other files in the
provides a snapshot of every swap file name, the type of swap space, the total size, and the amount of
space is in use (in kilobytes). The priority column is useful when multiple swap files are in use. The
lower the priority, the more likely the swap file is to be used.
5.2.30.
/proc/uptime
This file contains information detailing how long the system has been on since its last restart. The
output of
/proc/uptime
350735.47 234388.90
The first number is the total number of seconds the system has been up. The second number is how
much of that time the machine has spent idle, in seconds.
5.2.31.
/proc/version
This file specifies the version of the Linux kernel and
Enterprise Linux installed on the system:
Linux version 2.4.20-1.1931.2.231.2.12.ent (user@foo.redhat.com) (gcc version 3.2.3 200
(Red Hat Enterprise Linux 3.2.3-7)) #1 Thu Jun 19 14:57:04 EDT 2003
This information is used for a variety of purposes, including the version data presented when a user
logs in.
5.3. Directories within
Common groups of information concerning the kernel are grouped into directories and subdirectories
within the
directory.

/proc/

5.3.1. Process Directories
Every
directory contains a number of directories with numerical names. A listing of them
/proc/
may be similar to the following:
dr-xr-xr-x
3 root
dr-xr-xr-x
3 root
dr-xr-xr-x
3 xfs
dr-xr-xr-x
3 daemon
dr-xr-xr-x
3 root
dr-xr-xr-x
3 apache
dr-xr-xr-x
3 rpc
dr-xr-xr-x
3 rpcuser
Size
Used
136512
20024
is quite minimal:
/proc/
root
root
xfs
daemon
root
apache
rpc
rpcuser
Chapter 5. The
Priority
-1
/proc/
in use, as well as the version of Red Hat
gcc
0 Feb 13 01:28 1
0 Feb 13 01:28 1010
0 Feb 13 01:28 1087
0 Feb 13 01:28 1123
0 Feb 13 01:28 11307
0 Feb 13 01:28 13660
0 Feb 13 01:28 637
0 Feb 13 01:28 666
proc
File System
directory,
/proc/swap

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents