I am hosting quite a lot of virtual hosts using Apache in a basic LAMP set up with the help of Webmin/Virtualmin. I am looking for a top-like tool in which I can monitor current connections. The virtual hosting part seems to be giving me trouble here. Here's what I've tried:
netstat- I can see the connections, but they show me as if they're all using my primary domain, e.g.mydomain.com:www.iftop- I like it a lot, but similar downside asnetstat: does not show the virtual host.apachetop- seems to be showing not information for all my virtual hosts. I'm logging to separate custom log files, which I'm suspecting is the cause for why it doesn't work.ntop,darkstat,MRTG,bwm-ng,IPTraf- not working either.
So, basically, I'm looking for something similar to the current output of netstat, but to include the virtual host the request is for, e.g.: avirtualsite.com:www.
