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.
In reply to Information about running Perl script by Sewi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |