1-*-Text-*- 2 3Introduction: 4------------- 5 6 This is pstree V 2.39. It is a small program that shows the ps 7 listing as a tree (as the name implies...). It has several options 8 to make selection criteria and to change the output style. 9 10 It should compile under most unixes, tested are AIX, Linux, HP-UX, 11 A/UX, SunOS, Solaris, (Free|Open|Net)BSD, MacOSX/Darwin, and others. 12 13 Under AIX & Linux, pstree directly reads the process table using 14 getproc()/getuser() or the /proc file system. Under all other 15 Un*xes pstree reads the output of /bin/ps. 16 17 If process group information is available, process group leaders 18 are marked with a '=' instead of '-'. 19 20Compilation: 21------------ 22 23 Take an ANSI C compiler, eg., gcc, and just enter 24 25 $ [g]cc -O -o pstree pstree.c 26 27 There is no Makefile. 28 29Installation: 30------------ 31 32 Put pstree into appropriate bindir, e.g., /usr/local/bin. 33 Optionally, put the manpage pstree.1 to, e.g., /usr/local/share/man/man1. 34 35 Have fun, 36 37 Fred 38 39Changes: 40-------- 41 42 See pstree.c 43