Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 15th, 2012  |  syntax: Bash  |  size: 0.11 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. perc=`df /volume1 | awk '{print $5}' | tail -n 1 | sed 's/.$//'`
  2. if [ $perc -le 10 ]
  3. then
  4.   echo send mail
  5. fi