What command can I type with Linux where I can watch Apache HTTP web server load in real time?

BACKGROUND: I can type 'top'. That let's me watch overall server load (just look at inverse of Idle % and consider it over a period of time). However, I need to know how to see when Apache is running into critical load and may run out of process handles or something like that.

  • apachetop is an open source initiative for monitoring the apache server itself
  • wtop/logrep is an open source initiative for retrospective analysis and realtime serving performance monitoring

mod_status (docs) provides a web-accessible list of Apache processes and the requests they're handling.

Example output:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.