A script to show current disk usage in MB/s using iostat

touch-bar

#1

A script that gets the current disk usage in MB/s

54%20pm

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