2.3. The /proc Virtual File System
Unlike most file systems,
/proccontains neither text nor binary files. Instead, it houses virtual files; as such,
/procis normally referred to as a virtual file system. These virtual files are typically zero bytes in size, even if they contain a large amount of information.
/procfile system is not used for storage. Its main purpose is to provide a file-based interface to hardware, memory, running processes, and other system components. Real-time information can be retrieved on many system components by viewing the corresponding
/procfile. Some of the files within
/proccan also be manipulated (by both users and applications) to configure the kernel.
/procfiles are relevant in managing and monitoring system storage:
- Displays various character and block devices that are currently configured.
- Lists all file system types currently supported by the kernel.
- Contains current information on multiple-disk or RAID configurations on the system, if they exist.
- Lists all mounts currently used by the system.
- Contains partition block allocation information.
For more information about the
/procfile system, refer to the Red Hat Enterprise Linux 6 Deployment Guide.