p>
<p>这个命令可以以树形的方式列出进程。如下所示：</p>
<pre data-enlighter-language="shell" class="EnlighterJSRAW">[<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="365e555e535876647e737a65606403">[email&#160;protected]</a> ~]$ pstree
init-+-acpid
     |-auditd-+-python
     |        `-{auditd}
     |-automount---4*[{automount}]
     |-backup.sh---sleep
     |-dbus-daemon
     |-events/0
     |-events/1
     |-hald