diff options
author | linimon <linimon@FreeBSD.org> | 2006-07-10 02:16:32 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2006-07-10 02:16:32 +0800 |
commit | fd21cb7d6114860949590c315f3bf636a263e396 (patch) | |
tree | bf9970836dd3de132de5a9ede2cb187c7967924e /Tools | |
parent | f33165bcd66ebc601ddf2a7cd62ce73d7a712e08 (diff) | |
download | freebsd-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-x | Tools/portbuild/scripts/showrunning | 11 |
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 |