Directory /proc

  • Run-time interface with the Kernel environment:
    info about running processes, memory, hardware, IRQ, kernel structures;
    tuning kernel parameters on a fly.

    Examples
  • CPU info
    cat /proc/cpuinfo 
    

  • Info about the OS version
    cat /proc/version 
    

  • Files containing network parameters
    ls /proc/sys/net/ipv4
    

  • Enable network packet forwarding
    echo '1' > /proc/sys/net/ipv4/ip_forward 
    


    Previous Pageprevious First Pagetop Next Pagenext