summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-08-29 08:03:13 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-08-29 08:03:13 +0000
commite8c4933e13680cd274128c90f9ee854cae563c57 (patch)
tree73d8daf091be1aee04904e24a9532fc1e7398c21 /Tools
parentA little script that tries to "undo" a package build. Basically just renames (diff)
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).
Notes
Notes: svn path=/head/; revision=32078
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