save disk test

This commit is contained in:
2020-02-25 07:10:47 -08:00
parent 1b7944a174
commit 41ceec25dd
3 changed files with 107 additions and 0 deletions

16
fsn1.disktest/Makefile Normal file
View File

@@ -0,0 +1,16 @@
HOST := fsn1.datavibe.net
WHEN := $(shell date -u +%Y-%m-%d.%H.%M.%S)
default: runlog
runlog:
script ./log.$(WHEN).txt bash -c "make run"
run: sync
ssh root@$(HOST) "bash /root/disktest.sh"
sync:
rsync -avP ./disktest.sh root@$(HOST):/root/disktest.sh
clean:
rm log.*.txt