aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-07-09 18:16:32 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-07-09 18:16:32 +0000
commit8ccf5fa29d0ce9d46eaec071c6370b9b59e89ee8 (patch)
tree3319b5ddb553490adfdf8370685f9659886b2830 /Tools
parent8e499383da6e06ee458a5e6d23c783de5699202a (diff)
downloadports-8ccf5fa29d0ce9d46eaec071c6370b9b59e89ee8.tar.gz
ports-8ccf5fa29d0ce9d46eaec071c6370b9b59e89ee8.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/showrunning11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/showrunning b/Tools/portbuild/scripts/showrunning
new file mode 100755
index 000000000000..43753ab03d29
--- /dev/null
+++ b/Tools/portbuild/scripts/showrunning
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# show currently running builds in terse format
+#
+ps axww | \
+ grep "/var/portbuild/scripts/pdispatch" | \
+ grep -v "grep /var/portbuild/scripts/pdispatch" | \
+ sed -e "s@.*pdispatch @@;s@/var/portbuild/scripts/portbuild .*/usr/ports/@@;s/ /-/" | \
+ sort