how to trace hung perl process?

Once in a while you get a vulnerable or poor scripted progam a client runs (espcially something from Fantastico) and it has a perl process that hangs. This happened to me today and used up massive amount of bandwidth, 8MBps average (steady) rate until I killed the process.

Please, how do you trace a perl process to a specific user. PLEASE include every possible detail and command in detail if you an. I'm not a pro, barely intermediate as well keep in mind

Cpanel
Centos 4.2
PHP 4.4.2
Apache 1.3x

 

 

 

 

Top