Use apachetop to monitor web server process

Feb 09, '04 09:39:00AM

Contributed by: Anonymous

If you are administering an Apache web server and want to see what your Apache server is doing in real time, take time to look at apachetop [112KB download]. It is essentially the same as the UNIX top command, but instead of the top system processes, it displays the top Apache requests in a concise and helpful display. Building the file is simple:


 % cd apachetop-0.10
 % ./configure
 % make
 % sudo make install
Once the file is run, you can then see what your server's up to and tweak away to your hearts content. One note: because of the non-standard location of the OS X Apache log file, you'll need to tell it where to look when you run it:

 % apachetop -f /var/log/httpd/access_log
[robg adds: This compiled and ran successfully on my machine, despite a couple warnings in the configure section...]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040201094727182