eugene eugene - 1 year ago 74
Linux Question

(Mac) leave core file where the executable is instead of /cores?

I recently found out that Mac leaves all the core file in /cores directory.

It's hard to tell what application caused the core dump if even possible.

Wonder if I can configure system to leave the cores where the executable resides as in Linux.

Thank you

Answer Source

Hmm - maybe you can edit /etc/sysctl.conf and help yourself you specifying the core_pattern?


Maybe that would help you find out more about which process was responsible for the dump

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download