Skip to content

Instantly share code, notes, and snippets.

View Goerik's full-sized avatar

Albert Umerov Goerik

  • PHP Software Engineer
  • Prague
View GitHub Profile
#!/usr/bin/perl
# HAProxy Performance Statistics
# by Steve Kamerman
#
# To use, pipe your HAProxy log with timing information (like "0/0/1/1/3 200") to
# this script. It will output min, max, med, avg and a latency distribution graph.
#
# Info on timing logging in HAProxy: http://code.google.com/p/haproxy-docs/wiki/TimingEvents
#
@Goerik
Goerik / optimize.sh
Created September 27, 2013 11:29 — forked from lgiraudel/optimize.sh
#!/bin/bash
PROGNAME=${0##*/}
INPUT=''
QUIET='0'
NOSTATS='0'
max_input_size=0
max_output_size=0
usage()