Permalink
Browse files

Pstree repo

  • Loading branch information...
0 parents commit 73a68969f6fbabc0488341385fe5aa6b280f0c97 @jamessanders committed Jul 10, 2011
Showing with 1,101 additions and 0 deletions.
  1. +32 −0 README
  2. +1,069 −0 pstree.c
32 README
@@ -0,0 +1,32 @@
+-*-Text-*-
+
+Introduction:
+-------------
+
+ This is pstree V 2.33. It is a small program that shows the ps
+ listing as a tree (as the name implies...). It has several options
+ to make selection criteria and to change the output style.
+
+ It should compile under most unixes, tested are AIX, Linux, HP-UX,
+ A/UX, SunOS, Solaris, (Free|Open|Net)BSD, MacOSX/Darwin, and others.
+
+ Under AIX & Linux, pstree directly reads the process table using
+ getproc()/getuser() or the /proc file system. Under all other
+ Un*xes pstree reads the output of /bin/ps.
+
+ If process group information is available, process group leaders
+ are marked with a '=' instead of '-'.
+
+Compilation:
+------------
+
+ Take an ANSI C compiler, eg. gcc, and just enter
+
+ $ [g]cc -O -o pstree pstree.c
+
+ There is no Makefile. Have fun, Fred
+
+Changes:
+--------
+
+ See pstree.c
Oops, something went wrong.

0 comments on commit 73a6896

Please sign in to comment.