Proc file system related to boot and kernel in linux

Earlier we have introduced the composition of the Linux file system. Today we will introduce the specific proc file system.

So what is the proc file system like?

These things are very useful when programming in your Linux system environment, depending on the system or process information you can check here. 

1. /proc is a special file system, files in this directory are used to represent special information related to startup and kernel

   1) /proc/cpuinfo

       CPU details

       

    2) /proc/meminfo

       Memory related information

    

    3) /proc/version

       Version Information

    4) /proc/sys/fs/file-max

       The total number of files that can be opened simultaneously in the system

       Can modify the file

    

    5) Information about the process

       /proc/2092/ indicates the relevant information of the specified process (the process number is 32689)

       

    6) /proc/devices

        Device number of assigned character device and block device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_44065088/article/details/108454071