{"id":1593,"date":"2014-04-02T15:40:56","date_gmt":"2014-04-02T19:40:56","guid":{"rendered":"http:\/\/mossiso.com\/?p=1593"},"modified":"2014-04-02T15:53:07","modified_gmt":"2014-04-02T19:53:07","slug":"atop-apache-top-for-keeping-tabs-on-the-web-servers","status":"publish","type":"post","link":"https:\/\/mossiso.com\/2014\/04\/02\/atop-apache-top-for-keeping-tabs-on-the-web-servers\/","title":{"rendered":"Atop – Apache Top, for keeping tabs on the web servers"},"content":{"rendered":"

When I first became a systems administrator of a large web server, I wanted to know what the current traffic to all of the virtual hosts (vhosts) looked like. I wanted to see which domains were getting the most traffic and where that traffic was coming from. So began my long search for a sufficient tool. There are many out there (apache-top<\/a>, Apachetop<\/a>, wtop<\/a>, htop<\/a>, IPTraf<\/a>, etc). But they didn’t do all of the things I wanted. Basically they were just command line versions of the output of Apache mod_status, or they did complex log analysis.<\/p>\n

I wanted more. The ability to search, or show only a certain domain name, see a list of IP address and how many connections from that IP address (to detect botnet attacks), and more.<\/p>\n

So in true sys admin fashion, I built the tool myself. It is sufficiently stable and usable enough to warrant a blog post and hopefully engender some usage by others, which hopefully will encourage ideas and improvements from the community. Go ahead and grab a copy from the github repo,\u00a0https:\/\/github.com\/mossiso\/atop <\/a><\/p>\n

My idea is not much different than some of the tools I linked to. I’m basically writing a wrapper around the Apache mod_status output, but this tool has the ability to do more. So here’s a little walk through of what this tool does.<\/p>\n

Requirements<\/h2>\n