Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Information about running Perl scriptby Sewi (Friar) |
on Jan 02, 2012 at 07:14 UTC ( [id://945846]=perlquestion: print w/replies, xml ) | Need Help?? |
Sewi has asked for the wisdom of the Perl Monks concerning the following question: Happy new year monks, strace shows syscalls being executed by a running process, lsof (or /proc/PID/fd) shows information about open files), but are there any other (Perl-specific) tools/ways/tricks to get information about an already-running process? I got some Perl jobs which sometimes run for a long time (hang but recover after some - usually huge - delay). In this case, I know that this is database/mySQL-related and I know which few source lines are looping (waiting for a specific mySQL state), but having any additional information about them would be great, same for other tasks which rarly hang due to other reasons which usually arent' reproduceable. I can't start all these jobs in the debugger and they're running unattended, only hang/crash-reports show their results and I want to extend these reports. Thank you.
Back to
Seekers of Perl Wisdom
|
|