]> git.8kb.co.uk Git - postgresql/pgbench_looper/blob - README.md
Update README.md
[postgresql/pgbench_looper] / README.md
1 pgbench_looper
2 ==============
3
4 Basic shell script to loop around and run pgbench with different workloads, 
5 outputs log file with machine specifics and csv file with data that can be 
6 plotted as required. Gnuplot script and excel sheet included to graph output.
7
8 Usage
9 -----
10
11 Edit the variables at the top of the script to suit, then run.
12
13 ```bash
14 $ ./pgbench_looper.sh
15 ```
16
17 Graphing output
18 ---------------
19
20 ### Gnuplot ###
21
22 ```bash
23 $ gnuplot -e "filename='test-20130407_16-26.csv'" pgbench_looper.p -persist
24 $ gnuplot -e "filename='test-20130407_16-26.csv'; outfilename='test-20130407_16-26.png'" pgbench_looper.p
25 ```
26
27 ### Excel ###
28
29 Cut n' paste into excel worksheet, refresh pivot table tab.