Ravi Sir's Cards › AWS
Alert when disk > 80%?
This interview card answers: Alert when disk > 80%? Df gives use% as text. +0 turns it into a number. Full mounts.
Read card text
What this card says
What it is
df gives use% as text.
Why it matters
+0 turns it into a number.
How / example
Full mounts.
df -P | awk 'NR>1 && $5+0>80 {print $6}'