Skip to content

Instantly share code, notes, and snippets.

View cjrolo's full-sized avatar

Carlos Juzarte Rolo cjrolo

View GitHub Profile
"""Extract mean, median and percentiles from `nodetool cfhistogram` output.
Usage:
1. Run this script.
2. Paste in the output from a read or write latency histograms.
3. Press CTRL+D (to close stdin file descriptor).
"""
import sys
import collections