I have a web server set up using MAMP and running on my Mac on my college campus with all of my work and photos. I have it open for anyone to see, but at times my computer is dishing up to 30Mbt/s out. Is there a program or a command line tool to be able to see which files are getting fetched the most and to see which IP's are connected to my computer?
migrated from serverfault.com Sep 7 '11 at 2:57
This question came from our site for system and network administrators.
A good starting point would be enabling the Apache logs. From the MAMP FAQ:
You'll then be able to find the log file at /Applications/MAMP/logs/apache_access_log
There are probably more comprehensive tools for analyzing the logs and data, but if you want something quick and basic, this should be a good start.