Fork me on GitHub

mongrel_proctitle

A simple module which changes Mongrel's process title to reflect what it's currently doing. You can then determine a given Mongrel server's status using "ps".
Example

	
mongrel_rails [10010/2/358]: handling 127.0.0.1: HEAD /feed/calendar/global/91/6de4
|              |     | |     |        |          |
|              |     | |     |        |          The current request (method and path)
|              |     | |     |        |
|              |     | |     |        The client IP
|              |     | |     |
|              |     | |     What it's doing
|              |     | |     
|              |     | The number of requests processed during the server's lifetime
|              |     |
|              |     The number of requests currently queued/being processed concurrently
|              |
|              The port that Mongrel is serving
|
The process name

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/alexstaubo/mongrel_proctitle