So my bandwidth for my server just got throttled the other day because my server started using extreme bandwidth all of the sudden. I noticed some strange netstat connections and tied it with two perl processes that were being parented by httpd processes. I have no idea how to "trace" the process to figure out the path to the script that is being run to cause me these problems. Is there a way to do this? I searched the net for a solution but havent found one.
I need a way to take pid 64343 and get information on what files its running or working with so that I can track down the problem.
Currently the only thing I know to do would be to cross ref my httpd access logs with the timestamp of the start date and time of the process but my logs are purged every four hours by the statistics engine so unless i catch the process within the four hour window i have there is no log to reference. :(