Skip to content

Instantly share code, notes, and snippets.

@zerolab
Last active August 29, 2015 14:22
Show Gist options
  • Save zerolab/2127f3179e5f6469932d to your computer and use it in GitHub Desktop.
Save zerolab/2127f3179e5f6469932d to your computer and use it in GitHub Desktop.
gnuplot recipe to plot uwsgi's load time logs as a histogram
scp user@server:/var/log/uwsgi/site.log .
gnuplot
gnuplot> bin(x) = 5*(floor(x/5)+0.5)
gnuplot> set boxwidth 5
gnuplot> plot "site.log" using (bin($33)):(1.0) smooth freq with boxes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment