Proc/Sysrq-Trigger; Proc/Version; Process Directories - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

provides a snapshot of every swap file name, the type of swap space, the total size, and the
amount of space 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.
2.29.

/proc/sysrq-trigger

Using the
command to write to this file, a remote root user can execute most System
echo
Request Key commands remotely as if at the local terminal. To
/proc/sys/kernel/sysrq
System Request Key, refer to
Although it is possible to write to this file, it cannot be read, even by the root user.
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.
2.31.

/proc/version

This file specifies the version of the Linux kernel and
Hat Enterprise Linux installed on the system:
Linux version 2.6.8-1.523 (user@foo.redhat.com) (gcc version 3.4.1 20040714
\ (Red Hat Enterprise Linux 3.4.1-7)) #1 Mon Aug 16 13:27:03 EDT 2004
This information is used for a variety of purposes, including the version data presented when a
user logs in.
3. Directories within
Common groups of information concerning the kernel are grouped into directories and
subdirectories within the

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 root 0 Feb 13 01:28 1 dr-xr-xr-x 3 root root 0 Feb 13
01:28 1010 dr-xr-xr-x 3 xfs xfs 0 Feb 13 01:28 1087 dr-xr-xr-x 3 daemon
daemon 0 Feb 13 01:28 1123 dr-xr-xr-x 3 root root 0 Feb 13 01:28 11307
dr-xr-xr-x 3 apache apache 0 Feb 13 01:28 13660 dr-xr-xr-x 3 rpc rpc 0 Feb
must be set to a value other than
Section 3.9.3, "
/proc/sys/kernel/
is quite minimal:
/proc/
directory.
/proc/
/proc/sysrq-trigger
values to this file, the
echo
. For more information about the
0
".
in use, as well as the version of Red
gcc
65

Advertisement

Table of Contents
loading

Table of Contents