There are 3 parts to this article:
Part 1 – Part 2 – Part 3
One benchmark that we are interested in while monitoring Apache on GNU/Linux is the number of httpd processes running. Here is an example graph of the number of httpd processes running that is created by the scripts in this article:
Click the image for a larger graph. This is exactly what we want to see. True, we could have used more extensive tools; however, this was the data we wanted graphed. The code to do all of this was 52 lines total of Perl, and not particularly elegant code at that. The code can be reused and adapted to other uses. The tools used are sharp. Stay tuned for the code and details coming in part 2.