df -h ~/.ipfs/ | tail -n 1 | awk '{print $4}'
This commit is contained in:
parent
d8779b3b4f
commit
d2ef8d267d
|
@ -52,7 +52,7 @@ echo "DISK SIZE AVAILABLE & PERFORMANCE TESTING"
|
|||
[[ -f ~/.zen/test.disk ]] && rm -f ~/.zen/test.disk
|
||||
diskperf=$(dd if=/dev/zero of=~/.zen/test.disk bs=10M count=1 oflag=dsync 2>&1 | tail -n 1 | sed s/\,\ /\ -/g | cut -d '-' -f 4)
|
||||
# echo $diskperf
|
||||
sizeAvail=$(df -h ~/ | tail -n 1 | awk '{print $4}')
|
||||
sizeAvail=$(df -h ~/.ipfs/ | tail -n 1 | awk '{print $4}')
|
||||
|
||||
|
||||
# IPFS LOCAL REPOSITORY for Node Identity G1 + SSB
|
||||
|
|
Loading…
Reference in New Issue