It can act as a bridge connecting the user space and the kernel space. Userspace programs can use proc files to read the information exported by the kernel. Every entry in the proc file system provides some information from the kernel.
二、常用的procfs entry举例- /proc/devices — registered character and block major numbers
- /proc/iomem — on-system physical RAM and bus device addresses
- /proc/ioports — on-system I/O port addresses (especially for x86 systems)
- /proc/interrupts — registered interrupt request numbers
- /proc/softirqs — registered soft IRQs
- /proc/swaps — currently active swaps
- /proc/kallsyms — running kernel symbols, including from loaded modules
- /proc/partitions<



