nsbin/eth/bonnie-graphs.sh
Nico Schottelius f5a8cd1259 add files that are living in ~/bin for a while
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-12-28 20:14:14 +01:00

13 lines
250 B
Bash
Executable file

#!/bin/sh
out=bonnie.html
hosts="root@sgss5520ur01:/root/bonnie-mnt3 root@sgsr61001:/root/bonnie-local2"
tmp=$(mktemp -d /tmp/anyhow.XXXXXXXXXXXXX)
for host in $hosts; do
scp $host $tmp
done
cat $tmp/* | bon_csv2html > $out
echo rm -rf "$tmp"