diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-08-29 16:03:13 +0800 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-08-29 16:03:13 +0800 |
commit | e8c4933e13680cd274128c90f9ee854cae563c57 (patch) | |
tree | 73d8daf091be1aee04904e24a9532fc1e7398c21 /Tools | |
parent | a3e9efec5030cdebe3e63fdd9781f068119544db (diff) | |
download | freebsd-ports-e8c4933e13680cd274128c90f9ee854cae563c57.tar.gz freebsd-ports-e8c4933e13680cd274128c90f9ee854cae563c57.tar.zst freebsd-ports-e8c4933e13680cd274128c90f9ee854cae563c57.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).
Notes
Notes:
svn path=/head/; revision=32078
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/reportload | 3 |
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 |