Linux Know-How provides a collection of introductory texts on often needed Linux skills. |
Home Newbie Guide Basic Operations Basics More about the /proc file system | ||
See also: File System Tree | ||
Search the VIAS Library | Index | ||
More about the /proc file systemThe /proc "pseudo" file system is a real-time, memory-resident file system that tracks the state of the operating system kernel and the processes running on your computer. The /proc file system is totally virtual, i.e., it is not written on any particular disk or other persistent media, it exists only in the computer memory, and it is constantly updated to reflect any changes to your system. The size of the /proc directory is always zero and the last modification time is the current date. In some cases, it is possible to change your system settings by manually changing the contents of files in the /proc file system. Many Linux utilities use the /proc file system as the source of their information, e.g., dmesg, ps, top. Contents of the /proc file system
Other files in the /proc file system: /proc/cpuinfo --information about the processor, such as its type, make, model, and performance. /proc/devices --list of device drivers configured into the currently running kernel. /proc/dma --DMA channels being used at the moment. /proc/file systems --file system types configured into the kernel. /proc/interrupts --interrupts in use, and how many of each there have been. /proc/ioports --I/O ports in use at the moment.
For example, I can read the cpu info on my system using the following command: cat /proc/cpuinfo
|
||
Home Newbie Guide Basic Operations Basics More about the /proc file system |