Linux下/proc目录详解
proc目录总的概述
proc下有关进程的目录概述
proc下针对Linux系统相关的参数目录概述
/proc目录总的概述
1.首先,我们可以使用ll命令查看下/proc目录,如下
[root@centos6 ~]# ls -l /proc
total 0
dr-xr-xr-x. 8 root root 0 May 19 04:02 1
dr-xr-xr-x. 8 root root 0 May 19 04:02 10
dr-xr-xr-x. 8 root root 0 May 18 20:02 1078
dr-xr-xr-x. 8 root root 0 May 18 20:02 1079
...(中间省略)...
-r--r--r--. 1 root root 0 May 19 17:39 timer_list
-rw-r--r--. 1 root root 0 May 19 17:39 timer_stats
dr-xr-xr-x. 4 root root 0 May 19 17:39 tty
-r--r--r--. 1 root root 0 May 19 17:39 uptime
-r--r--r--. 1 root root 0 May 19 17:39 version
-r--------. 1 root root 0 May 19 17:39 vmallocinfo
-r--r--r--. 1 root root 0 May 19 17:39 vmstat
-r--r--r--. 1 root root 0 May 19 17:39 zoneinfo
2.使用ps aux命令查看下当前系统所有正在运行的进程
[root@