tail -f findings.out

« Search MySQL field names

Multi-OS package installation and search functions »

Top for Apache activity

While top can show you that yes, it is Apache that is taking up all your server’s resources, what can you do to narrow down the activity to a particular site being served on the box? You could tail the access_log, but on anything but a slow server, that leads more to blindess than enlightenment. And perhaps you want something a little more current than utilities that can chew through Apache log files and give you stats.

In looking for this, I came across Apachetop. This handy little utility parses your log files and gives you all sorts of configurable stats in real time, in a clean CLI human readable interface. This article over at HowToGeek does a great job describing how to install it (in most package handlers), use it, and configure it, so I won’t re-hash it all here. Here’s some example output (updating as soon as activity occurs of course):

Share and Enjoy:
  • email
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Technorati
  • Netvibes

Post to Twitter Post to Delicious Post to Digg Post to Reddit

Possibly Related (no promises):

  1. Useful ways to list directory contents
  2. Get useful image information on the command line
  3. More efficient HTML editing in vim

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , ,
December 6, 2008 - 12:58 AM
1 comment »
  1. Top for MySQL with mytop | cmdln.org (a sysadmin blog)
Leave a reply

Subscribe without commenting

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.