aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-08-29 16:03:13 +0800
committerasami <asami@FreeBSD.org>2000-08-29 16:03:13 +0800
commitdf2b9dd511d70f11ddfba50263d845dfa80affc9 (patch)
tree9cdd2d8db213e865edb2c53e68cd19af68cefbb7 /Tools
parentd11cb6e11be641f87d4b644a909f4235b1146da2 (diff)
downloadfreebsd-ports-gnome-df2b9dd511d70f11ddfba50263d845dfa80affc9.tar.gz
freebsd-ports-gnome-df2b9dd511d70f11ddfba50263d845dfa80affc9.tar.zst
freebsd-ports-gnome-df2b9dd511d70f11ddfba50263d845dfa80affc9.zip
Print uptime after the number of jobs running. This has no functional
effect since the job scheduler will only look at the first field, but will give humans looking at the load reports some idea about the machines (especially crashes).
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/reportload3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/reportload b/Tools/portbuild/scripts/reportload
index a79e73cd09ec..6c16e6ecf93b 100755
--- a/Tools/portbuild/scripts/reportload
+++ b/Tools/portbuild/scripts/reportload
@@ -6,7 +6,8 @@ buildroot=/a/asami/portbuild
while true; do
num=$(echo $(ls -1d ${buildroot}/*/chroot/*/used 2>/dev/null| wc -l))
- echo "$num" > /tmp/${me}
+ echo -n "$num " > /tmp/${me}
+ uptime >> /tmp/${me}
/usr/local/bin/scp -q /tmp/${me} $master:${buildroot}/loads/
rm -f /tmp/${me}
sleep 5