Here is a simple oneliner to show filesystems that are nearly full:
df -k | awk '$4 > 85 {print $7,$4}'
What it does;
- df -k - This displays the filesystems and how full they are.
- awk '$4 > 85 {print $7,$4}' - This prints the 7th and 4th column, when the 4th column is greater than 85.