Skip to content

Instantly share code, notes, and snippets.

@ajbonner
Created April 11, 2014 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajbonner/10501538 to your computer and use it in GitHub Desktop.
Save ajbonner/10501538 to your computer and use it in GitHub Desktop.
Enable Core Dumps
#!/usr/bin/env bash
echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern
echo 0 > /proc/sys/kernel/core_uses_pid
ulimit -c unlimited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment