Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created March 11, 2009 18:17
Show Gist options
  • Save edavis10/77626 to your computer and use it in GitHub Desktop.
Save edavis10/77626 to your computer and use it in GitHub Desktop.
echo -e "This is a summary of disk usage on your server:\n\n `df -h`\n\nUptime: `uptime`" | mail -s "System report for `hostname` on `date`" my_email@gmail.\com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment