This commit is contained in:
Sebastian Moser
2024-02-27 00:55:44 +01:00
parent 06425c3a60
commit 166912d6b3
12 changed files with 126 additions and 26 deletions

View File

@@ -42,12 +42,14 @@ rm /tmp/speed-test.iso
elif [ "$1" == "speed-test-upload" ]
then
host=$1
host=$2
echo upload to $host
cat /dev/random | pv | ssh $host "cat > /dev/null"
elif [ "$1" == "speed-test-download" ]
then
host=$1
host=$2
echo download from $host
ssh $host "cat /dev/random" | pv > /dev/null