Linux Today: Linux News On Internet Time.

More on LinuxToday

Check Apache Server Status From a Web Page

Nov 16, 2010, 16:34 (0 Talkback[s])
(Other stories by Joe 'Zonker' Brockmeier)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

"Sometimes you want to see how your server is doing without SSH'ing into the system. One way to do this is to set up a Web page that shows Apache status. Sound difficult? Not really, it's a default module for Apache and easy to enable.

"What you can see from the status page, assuming you enable the extended status directive, is the server time, uptime, CPU usage, number of requests per second, and which VHosts are getting requests and for what pages. You'll also see the server version, and some of the modules (e.g., mod_python and PHP), but you shouldn't need a page to tell you that!

"You'll also see a "scoreboard" that visualizes what the Apache workers are doing. At a glance you'll know if Apache has a relatively light load or if the server is being taxed"

Complete Story

Related Stories: