Skip to content

Instantly share code, notes, and snippets.

@ptigas
Created December 9, 2011 12:49
Show Gist options
  • Save ptigas/1451403 to your computer and use it in GitHub Desktop.
Save ptigas/1451403 to your computer and use it in GitHub Desktop.
Check postfix logs for memory issues
cat /var/log/maillog* | grep "$(date '+%b %d' | sed 's/0\([0-9]\)/ \1/g')" | grep "Cannot allocate memory"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment