A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.

example gdb command

Use gdb to get a backtrace by attaching to a running process, then detaching immediately like so: sudo gdb /path/to/apache/bin/httpd 12345 -ex bt -ex detach -ex quit Where 12345 is a process ID that is misbehaving. This command should be used with a bit of care as it will pause that process while the backtrace is obtained.