Skip to content

A simple script to poll a given Unicorn socket to see active and queued HTTP requests.

Notifications You must be signed in to change notification settings

jahio/unicorn-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

unicorn_status.rb

Prints out information every few seconds (specified on command line) about what's in a given Unicorn socket.

Usage:

ruby unicorn_status.rb /path/to/your/unicorn/socket.sock 10

Setup:

gem install unicorn --no-ri --no-rdoc
curl https://raw.github.com/jaustinhughey/unicorn-status/master/unicorn_status.rb > ~/unicorn_status.rb

Bugs/Contributions: Pull requests welcome. Enhancements, bugfixes, whatever, it's all good. Fork, do work, test and submit a pull request.

Contributors:

License: CC Attribution 3.0 Unported (http://creativecommons.org/licenses/by/3.0/)

Releases

No releases published

Packages

No packages published

Languages