15 procfs
Directory Reference
The following table describes the most useful virtual files and
directories under the /proc
directory
hierarchy. For more information, see the proc(5)
manual
page.
Table 15-1 Useful Virtual Files and Directories Under the /proc Directory
Virtual File or Directory | Description |
---|---|
|
Provides information about the process with the process ID (PID). The directory's owner and group is same as the process's. Useful files under the directory include:
|
|
Provides information for diagnosing memory fragmentation. |
|
Contains information about the various buses (such as
|
|
Provides information about the resource control groups that are in use on the system. |
|
Lists parameters passed to the kernel at boot time. |
|
Provides information about the system's CPUs. |
|
Provides information about all installed cryptographic cyphers. |
|
Lists the names and major device numbers of all currently configured characters and block devices. |
|
Lists the direct memory access (DMA) channels that are currently in use. |
|
Contains information about drivers used by the kernel, such as those for
nonvolatile RAM (nvram ), the real-time clock (rtc ),
and memory allocation for sound (snd-page-alloc ).
|
execdomains
|
Lists the execution domains for binaries that the Oracle Linux kernel provides. |
|
Lists the file system types that the kernel provides. Entries marked with
|
|
Contains information about mounted file systems, organized by file system type. |
|
Records the number of interrupts per interrupt request queue (IRQ) for each CPU after system startup. |
|
Lists the system memory map for each physical device. |
|
Lists the range of I/O port addresses that the kernel uses with devices. |
|
Contains information about each IRQ. You can configure the affinity between each IRQ and the system CPUs. |
|
Presents the system's physical memory in |
|
Records kernel-generated messages, which are picked up
by programs such as |
|
Displays the system load averages (number of queued processes) for the past 1, 5, and 15 minutes, the number of running processes, the total number of processes, and the PID of the process that's running. |
|
Displays information about the file locks that the kernel is currently holding on behalf of processes. The information provided includes:
|
|
Lists information about multiple-disk RAID devices. |
|
Reports the system's usage of memory in more detail
than is available using the |
|
Displays information about the modules that are
currently loaded into the kernel. The
|
|
Lists information about all mounted file systems. |
|
Provides information about networking protocol, parameters, and statistics. Each directory and virtual file describes aspects of the configuration of the system's network. |
|
Lists the major and minor device numbers, number of blocks, and name of partitions mounted by the system. |
|
Provides information about SCSI devices. |
|
Provide information about configured SCSI devices, including vendor, model, channel, ID, and LUN data. |
|
Symbolic link to the process that's examining |
|
Provides detailed information about slab memory usage. |
|
Displays information about software interrupts ( |
|
Records information about the system from when it was started, including:
|
|
Provides information about swap devices. The units of size and usage are in kilobytes. |
|
Provides information about the system and also enables you to enable, disable, or modify kernel features. You can write new settings to any file that has write permission. See Managing Kernel Parameters at Runtime. The following subdirectory hierarchies of
|
|
Provides information about the usage of System V
Interprocess Communication (IPC) resources for
messages ( |
|
Provides information about the available and currently
used terminal devices on the system. The
|
|
Provides information about virtual memory usage. |