Solaris 进程文件系统 /proc
进程文件系统 (process file system, PROCFS) 驻留在内存中,并且包含 /proc 目录中按进程号排序的活动进程的列表。
/proc 目录中的信息由 ps 等命令使用。调试器和其他开发工具也可以使用文件系统调用来访问进程的地址空间。
请勿删除 /proc 目录中的文件。从 /proc 目录中删除进程不会中止这些进程。/proc 文件不占用磁盘空间,因此不必从此目录中删除文件。
/proc 目录无需管理。
有关进程的一些命令:
/usr/bin/pflags [-r] pid | core [/lwp] ...
/usr/bin/pcred [pid | core]...
/usr/bin/pcred [-u user/uid] [-g group/gid] [-G grouplist] pid...
/usr/bin/pcred -l login pid...
/usr/bin/pldd [-F] [pid | core]...
/usr/bin/psig [-n] pid ...
/usr/bin/pstack [-F] pid | core [/lwp] ...
/usr/bin/pfiles [-Fn] pid...
/usr/bin/pwdx pid...
/usr/bin/pstop pid...
/usr/bin/prun pid...
/usr/bin/pwait [-v] pid...
/usr/bin/ptime command [arg]...

