test disk space monitor.

This commit is contained in:
debuggerx
2021-08-03 23:07:37 +08:00
parent 5e89314c31
commit 2cbb5e3908
2 changed files with 12 additions and 4 deletions

8
monitor.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
while [ -f monitor.sh ]; do
echo ================================================
df -h
echo ================================================
sleep 5
done