Skip to content

Instantly share code, notes, and snippets.

@trustin
Created April 3, 2013 13:57
Show Gist options
  • Save trustin/5301406 to your computer and use it in GitHub Desktop.
Save trustin/5301406 to your computer and use it in GitHub Desktop.
$ cat ~/.local/bin/simple-httperf
#!/bin/bash
if [[ $# -ne 6 ]]; then
echo "Usage: $0 <num_conns> <num_reqs_per_conn> <burst_len> <host> <port> <path>"
exit 1
fi
exec httperf --num-conns "$1" --num-calls "$2" --burst-length "$3" --server "$4" --port "$5" --uri "$6" --rate 10000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment