A script that gets the current disk usage in MB/s
Script (Run shell script and show return value):
SPEED="$(iostat -d 1 2 | awk 'NR>3{print $3}')"
echo "${SPEED} MB/s"
A script that gets the current disk usage in MB/s
Script (Run shell script and show return value):
SPEED="$(iostat -d 1 2 | awk 'NR>3{print $3}')"
echo "${SPEED} MB/s"