summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-07-09 18:16:32 +0000
committerlinimon <linimon@FreeBSD.org>2006-07-09 18:16:32 +0000
commitfd21cb7d6114860949590c315f3bf636a263e396 (patch)
treebf9970836dd3de132de5a9ede2cb187c7967924e
parentf33165bcd66ebc601ddf2a7cd62ce73d7a712e08 (diff)
downloadFreeBSD-ports-fd21cb7d6114860949590c315f3bf636a263e396.zip
FreeBSD-ports-fd21cb7d6114860949590c315f3bf636a263e396.tar.gz
Convenience script to tersely display all currently running package builds.
-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 0000000..43753ab
--- /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
OpenPOWER on IntegriCloud