Raspberry Pi
  • Introduction
  • Raspberry Pi
    • Cover
    • Raspberry Pi
    • Documentation
      • Embedded Linux Wiki
      • Adafruit
    • Education
      • HelloWorld
      • HackSpace
      • MagPi
    • Raspberry Pi Foundation
    • Sandbox
  • Embedded Linux
    • Introduction
    • Initialization
      • System Information
      • Kernel Ring Buffer
      • Root Directory
      • User Directory
      • Kernel Modules
      • Filesystem
        • DebugFs
        • SysFs
        • ProcFs
        • TmpFs
      • Memory
      • Processes
      • Interfaces
      • Software Configuration Tool
    • Subsystem
      • Peripheral I/O
        • GPIO
        • PWM
        • I2C
        • SPI
        • UART
      • Bluetooth
  • Services
    • Docker
    • Home Assistant
  • XunanKab
    • Untitled
  • Bitol
    • Untitled
Powered by GitBook
On this page
  1. Embedded Linux
  2. Initialization
  3. Filesystem

ProcFs

PreviousSysFsNextTmpFs

Last updated 7 years ago

The proc filesystem (procfs) is a special filesystem in Unix-like operating systems that presents information about processes and other system information in a hierarchical file-like structure, providing a more convenient and standardized method for dynamically accessing process data held in the kernel than traditional tracing methods or direct access to kernel memory. Typically, it is mapped to a mount point named /proc at boot time. The proc file system acts as an interface to internal data structures in the kernel. It can be used to obtain information about the system and to change certain kernel parameters at runtime (sysctl).

pi@raspberrypi:~ $ mount | grep proc
proc on /proc type proc (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
pi@raspberrypi:~ $
Wikipedia