12 lines
166 B
Bash
Executable file
12 lines
166 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mountPoint=$1
|
|
label=$2
|
|
|
|
echo Checking mount values for "$1"
|
|
|
|
while :
|
|
do
|
|
echo $label $(df -h --output=pcent "$mountPoint" | grep "[0-9]%")
|
|
sleep 5
|
|
done
|