12 SYS T E M A N D PRO C E S S INFORMATION

Summary
The /proc file system exposes a range of kernel information to application programs.

Each /proc/PID subdirectory contains files and subdirectories that provide information about the process whose ID matches PID. Various other files and directories under /proc expose system-wide information that programs can read and, in some cases, modify.

The uname() system call allows us to discover the UNIX implementation and the type of machine on which an application is running.

猜你喜欢

转载自blog.csdn.net/zmjames2000/article/details/87933070
今日推荐