-1

Apache Downloading a lot data, how to find out which script?

I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I stop it, so does the heavy download use.

and I tried the netstat 80 grep command only to get a endless list of connections.

How could I find out what script (lets say a php) is downloading all this data?

Running Centos httpd

closed as unclear what you're asking by Jeff Schaller, Stephen Kitt, MelBurslan, Anthon, garethTheRed May 12 '16 at 20:22

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

You can check file opened by apache with lsof command. i.e. sudo lsof -c apache2 -nP -i :80 will do this and also prints out processes using port number 80(http).

Not the answer you're looking for? Browse other questions tagged or ask your own question.