Linux Magazine: Perl of Wisdom: Watching Your Web Server | Linux Today

Linux Magazine: Perl of Wisdom: Watching Your Web Server

Written By
Web Webster
Web Webster
Apr 8, 2000

“My Web server for http//perltraining.stonehenge.com is on a
nicely configured shared Linux box at a 24×7-manned co-location
facility. While I’m not really system administrator for this box, I
still want to be sure that my Web things aren’t bogging the system
down unnecessarily. (If that happens, the other e-commerce users
will start rallying to kick me off.) This is especially true as I
experiment more with dynamically generated pages and toys for
columns like this one.”

“So, the other day, I found myself invoking the Linux standard
top program, taking stabs at configuring it to watch
my Web server. But since I’m not the only httpd-something on the
machine, I kept seeing other Web servers there, and it messed up my
view. Also, I couldn’t tell if the child CGI scripts were expensive
or cheap, since they would show up as some other process in the
display.”

“I thought to myself that it’d be nice to have a Perl
program that does just what I want top to really do:
get the information about the processes that make up my Apache
server, and show how CPU-bound and page-fault-bound they are,
including any child CGI processes that got launched.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.