-p オプションをつけるとPID を表示する。PID は10進数でプロセス名の後に括弧付で表示される。
pstreeコマンド(実行中のプロセスのツリー形式表示)に戻る。
init(1)-+-Thunar(2463)
|-acpid(1944)
|-atd(2322)
|-cron(2342)
|-dbus-daemon(1954)
|-dbus-daemon(2454)
|-dbus-launch(2453)
|-dhclient3(2286)
|-exim4(2223)
|-firefox-bin(2504)-+-{firefox-bin}(2507)
| |-{firefox-bin}(2508)
| |-{firefox-bin}(2523)
| |-{firefox-bin}(2524)
| |-{firefox-bin}(2525)
| `-{firefox-bin}(2593)
|-gam_server(2465)
|-gconfd-2(2506)
|-getty(2361)
|-getty(2363)
|-getty(2365)
|-getty(2367)
|-getty(2368)
|-hald(2257)---hald-runner(2258)-+-hald-addon-acpi(2305)
| |-hald-addon-inpu(2300)
| `-hald-addon-stor(2314)
|-login(2359)---bash(2380)---startx(2394)---xinit(2411)-+-Xorg(2412)
| `-x-session-manag(2417)---ssh-agent(2450)
|-lpd(2233)
|-portmap(1777)
|-powertweakd(2246)
|-rpc.statd(1788)
|-rsyslogd(1932)-+-{rsyslogd}(1934)
| `-{rsyslogd}(1935)
|-scim-helper-lau(2592)
|-scim-helper-man(2445)
|-scim-launcher(2441)
|-scim-launcher(2448)
|-scim-panel-gtk(2446)---{scim-panel-gtk}(2447)
|-udevd(891)
|-xfce-mcs-manage(2457)
|-xfce4-panel(2461)-+-xfce4-menu-plug(2468)
| `-xfce4-mixer-plu(2470)
|-xfce4-terminal(2477)-+-bash(2479)---vim(2553)---{vim}(2554)
| |-bash(2557)---pstree(2595)
| `-gnome-pty-helpe(2478)
|-xfdesktop(2467)
`-xfwm4(2459)