Jul 17, 2010, 9:26 PM
Post #2 of 2
you can always use perl debugger, so you can understand what is happening, usually i just run perl -d app.pl and then set trace flag on ("T"), and then just hitting ("c") for continue.
Re: [tish15] perl threads cpu usage very high
[In reply to]
another steps that i do, when i want to know what process is doing, is by using strace (or truss if you are on bsd system), you can hook to a process, and see all of the system calls that process is performing:
strace -p PID
hope that helps...