summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-08-23 08:54:19 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-08-23 08:54:19 +0000
commit9656794eb2b3c2ade611e49252ecf9805b7bfaa5 (patch)
tree33544dc0fe79ab8d4b76c80a59ba4d58e592667c /sysutils
parentupgrade to 0.0.3 (diff)
Add pstree 2.16, a frontend to ps(1) which displays the process tree as
a tree. Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=46692
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/pstree/Makefile21
-rw-r--r--sysutils/pstree/distinfo3
-rw-r--r--sysutils/pstree/pkg-comment1
-rw-r--r--sysutils/pstree/pkg-descr5
-rw-r--r--sysutils/pstree/pkg-plist1
6 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9bae064d75c3..355038992658 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -120,6 +120,7 @@
SUBDIR += prips
SUBDIR += procmap
SUBDIR += pslist
+ SUBDIR += pstree
SUBDIR += psmisc
SUBDIR += pwgen
SUBDIR += pyfind
diff --git a/sysutils/pstree/Makefile b/sysutils/pstree/Makefile
new file mode 100644
index 000000000000..c2f414cd1add
--- /dev/null
+++ b/sysutils/pstree/Makefile
@@ -0,0 +1,21 @@
+# Ports collection makefile for: pstree
+# Date created: 22 Aug 2001
+# Whom: Kris Kennaway <kris@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pstree
+PORTVERSION= 2.16
+CATEGORIES= sysutils
+MASTER_SITES= http://www.go.dlr.de/fresh/unix/src/misc/
+
+MAINTAINER= kris@FreeBSD.org
+
+do-build:
+ cd ${WRKDIR} && ${CC} ${CFLAGS} -o pstree pstree.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/pstree ${PREFIX}/bin/pstree
+
+.include <bsd.port.mk>
diff --git a/sysutils/pstree/distinfo b/sysutils/pstree/distinfo
new file mode 100644
index 000000000000..cf070a0ae2ad
--- /dev/null
+++ b/sysutils/pstree/distinfo
@@ -0,0 +1,3 @@
+MD5 (pstree-2.16.tar.gz) = 3155cbf4df98d68f5d55edd431a8bb1d
+RMD160 (pstree-2.16.tar.gz) = d4763e3abfe6740eb0937e4eaa421c88e3e37b53
+SHA1 (pstree-2.16.tar.gz) = b971f96182cd044a67430bfff3b9086a5ff075b5
diff --git a/sysutils/pstree/pkg-comment b/sysutils/pstree/pkg-comment
new file mode 100644
index 000000000000..03209a25afa8
--- /dev/null
+++ b/sysutils/pstree/pkg-comment
@@ -0,0 +1 @@
+List processes as a tree
diff --git a/sysutils/pstree/pkg-descr b/sysutils/pstree/pkg-descr
new file mode 100644
index 000000000000..ae9effd2db6a
--- /dev/null
+++ b/sysutils/pstree/pkg-descr
@@ -0,0 +1,5 @@
+This is pstree. 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.
+
+For that it uses the output of /bin/ps.
diff --git a/sysutils/pstree/pkg-plist b/sysutils/pstree/pkg-plist
new file mode 100644
index 000000000000..674689c6b92c
--- /dev/null
+++ b/sysutils/pstree/pkg-plist
@@ -0,0 +1 @@
+bin/pstree