diff options
author | linimon <linimon@FreeBSD.org> | 2006-07-09 18:16:32 +0000 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2006-07-09 18:16:32 +0000 |
commit | fd21cb7d6114860949590c315f3bf636a263e396 (patch) | |
tree | bf9970836dd3de132de5a9ede2cb187c7967924e | |
parent | f33165bcd66ebc601ddf2a7cd62ce73d7a712e08 (diff) | |
download | FreeBSD-ports-fd21cb7d6114860949590c315f3bf636a263e396.zip FreeBSD-ports-fd21cb7d6114860949590c315f3bf636a263e396.tar.gz |
Convenience script to tersely display all currently running package builds.
-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 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 |