Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A CLI tool to determine STDIN line rate at the interval of choice.

Project Description

What?

A CLI tool to determine STDIN line rate at the interval of choice.

Installation

$ python setup.py install

Examples

Send to Graphite the number of close() calls a process does per 10 seconds:

$ strace -p 2760 -e close | bucketize --time_bucket_size 10 --output_template "one.two.three {amount} {time}"
one.two.three 1 1476562447.65
one.two.three 0 1476562457.65
one.two.three 68 1476562467.65
one.two.three 1 1476562477.65
one.two.three 1 1476562487.65
one.two.three 0 1476562497.65^C

$ strace -p 2760 -e close | bucketize --time_bucket_size 10 --output_template "one.two.three {amount} {time}"| nc graphite-server 2003
Release History

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting