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:
  • E-mail this story to a friend!
  • LinkedIn
  • Slashdot
  • StumbleUpon
  • Technorati
  • Netvibes

[Post to Twitter]  [Post to Delicious]  [Post to Digg]  [Post to Reddit] 

Possibly Related (no promises):

  1. How to completely reset an Apache instance in Ubuntu
  2. Useful ways to list directory contents
  3. Watching live I/O: iotop
  4. Easier Sharing: SSHFS
  5. NTFS Read AND Write Access in Ubuntu, is Easy

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