Pstree

FreeBSD에서의 pstree 출력.

pstree는 실행 중인 프로세스를 트리형태로 보여주는 유닉스 명령어이다. 이 명령은 ps 명령어보다 더욱 시각적으로 보기 좋다. 트리의 루트는 init 프로세스가 되거나 사용자가 지정한 프로세스가 된다.

pstree pid

user@host ~$ pstree 1066
rsyslogd─┬─{in:imjournal}
         └─{rs:main Q:Reg}

pstree username

user@host ~# pstree username
dbus-daemon───{dbus-daemon}

dbus-launch

bash───firefox─┬─6*[{Analysis Helper}]
               ├─{BgHangManager}
               ├─{Cache2 I/O}
               ├─{Compositor}
               ├─{GMPThread}
               ├─{Gecko_IOThread}
               ├─{Hang Monitor}
               ├─{ImageBridgeChil}
               ├─{ImageIO}
               ├─{JS Watchdog}
               ├─{Link Monitor}
               ├─{Socket Thread}
               ├─{SoftwareVsyncTh}
               ├─{StreamTrans #1}
               ├─{Timer}
               └─{gmain}

외부 링크

  • The psmisc package
  • The pstree Command by The Linux Information Project (LINFO)
  • Gnome Process Tree
  • pstree(1) – 리눅스 사용자 명령어 매뉴얼 페이지


  • v
  • t
  • e
유닉스 명령 줄 인터페이스 프로그램과 내부 명령어
파일 시스템
  • cat
  • cd
  • dd
  • chmod
  • chown
  • chgrp
  • cksum
  • cmp
  • cp
  • du
  • df
  • fsck
  • fuser
  • ln
  • ls
  • lsof
  • mkdir
  • mount
  • mv
  • pwd
  • rm
  • rmdir
  • split
  • touch
  • umask
프로세스
  • at
  • chroot
  • cron
  • exit
  • kill
  • killall
  • nice
  • pgrep
  • pidof
  • pkill
  • ps
  • pstree
  • sleep
  • time
  • top
  • wait
사용자 환경
텍스트 처리
프로그램
네트워크검색
문서화
  • apropos
  • help
  • man
기타
이 글은 소프트웨어에 관한 토막글입니다. 여러분의 지식으로 알차게 문서를 완성해 갑시다.