Some Files and Directories in /proc

by: acul Wednesday, November 23rd, 2011

You can navigate the /proc file system just as you’d work with any other
directories and files in Linux. Use the more or cat commands to view the
contents of a file.

/proc/acpi
Information about Advanced Configuration and Power Interface
(ACPI) — an industry-standard interface for configuration and
power management on laptops, desktops, and servers

/proc/bus
Directory with bus-specific information for each bus type, such
as PCI

/proc/cmdline
The command line used to start the Linux kernel (for example,
ro root=LABEL=/ rhgb)
/proc/cpuinfo
Information about the CPU (the microprocessor)

/proc/devices
Available block and character devices in your system

/proc/dma
Information about DMA (direct memory access) channels that
are used

/proc/driver/rtc
Information about the PC’s real-time clock (RTC)

/proc/filesystems
List of supported file systems

/proc/ide
Directory containing information about IDE devices

/proc/interrupts
Information about interrupt request (IRQ) numbers and how they
are used

/proc/ioports
Information about input/output (I/O) port addresses and how
they are used

/proc/kcore
Image of the physical memory

/proc/kmsg
Kernel messages

/proc/loadavg
Load average (average number of processes waiting to run in
the last 1, 5, and 15 minutes)

/proc/locks
Current kernel locks (used to ensure that multiple processes
don’t write to a file at the same time)

/proc/meminfo
Information about physical memory and swap-space usage

/proc/misc
Miscellaneous information

/proc/modules
List of loaded driver modules

/proc/mounts
List of mounted file systems

/proc/net
Directory with many subdirectories that contain information
about networking

/proc/partitions
List of partitions known to the Linux kernel

/proc/pci
Information about PCI devices found on the system

/proc/scsi
Directory with information about SCSI devices found on the
system (present only if you have a SCSI device)

/proc/stat
Overall statistics about the system

/proc/swaps
Information about the swap space and how much is used

/proc/sys
Directory with information about the system. You can change
kernel parameters by writing to files in this directory. (Using this
method to tune system performance requires expertise to do
properly.)

/proc/uptime
Information about how long the system has been up

/proc/version
Kernel version number

« | Home | »

 

Leave a Comment