进程树是一种进程关系表示方法。由父进程和子进程两部分组成。
proc 是一个目录,其中包含了反映内核和进程树的各种文件。
proc is a directory in which the files are really just views of the kernel and process tree.
proctree输出包含指定进程ID (PID)或用户的进程树,子进程相对于父进程缩进显示。
Proctree prints the process trees containing the specified process IDs (PIDs) or users, with child processes indented from their respective parent processes.
如果您需要执行某些故障排除,能够跟踪某个特定进程的进程树还允许您将任何应用程序追溯到创建它的进程。
Being able to follow the process tree for a particular process also lets you track any application back to the process that created it, should you need to do some troubleshooting.
应用推荐