aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-07-10 02:16:32 +0800
committerlinimon <linimon@FreeBSD.org>2006-07-10 02:16:32 +0800
commitfd21cb7d6114860949590c315f3bf636a263e396 (patch)
treebf9970836dd3de132de5a9ede2cb187c7967924e /Tools
parentf33165bcd66ebc601ddf2a7cd62ce73d7a712e08 (diff)
downloadfreebsd-ports-gnome-fd21cb7d6114860949590c315f3bf636a263e396.tar.gz
freebsd-ports-gnome-fd21cb7d6114860949590c315f3bf636a263e396.tar.zst
freebsd-ports-gnome-fd21cb7d6114860949590c315f3bf636a263e396.zip
Convenience script to tersely display all currently running package builds.
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