X-Git-Url: https://git.8kb.co.uk/?a=blobdiff_plain;f=README.md;fp=README.md;h=ec591104ec00d4fe180ed0f249bbf6b4b8a3b62e;hb=0c3d1bf902ba8091341ab2736fa8a6ce48656b1b;hp=0000000000000000000000000000000000000000;hpb=cf47597c2e09855d66c86bbc234a9aa62f1177d0;p=postgresql%2Fpgbench_looper diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec59110 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +pgbench_looper +============== + +Basic shell script to loop around and run pgbench with different workloads, +outputs log file with machine specifics and csv file with data that can be +plotted as required. Gnuplot script and excel sheet included to graph output. + +Usage +----- + +$ ./pgbench_looper.sh + +Graphing output +--------------- + +### Gnuplot ### + +$ gnuplot -e "filename='test-20130407_16-26.csv'" pgbench_looper.p -persist +$ gnuplot -e "filename='test-20130407_16-26.csv'; outfilename='test-20130407_16-26.png'" pgbench_looper.p + +### Excel ### + +Cut n' paste into excel worksheet, refresh pivot table tab. \ No newline at end of file