| 1 | # Useful functions
|
|---|
| 2 | kilo(x) = x/1000
|
|---|
| 3 | mega(x) = x/1000000
|
|---|
| 4 |
|
|---|
| 5 | # Change terminal
|
|---|
| 6 | set terminal jpeg
|
|---|
| 7 |
|
|---|
| 8 | # Nebulous Requests vs Time
|
|---|
| 9 | # set output 'nebulousRequests_vs_Time.jpg'
|
|---|
| 10 | # set xlabel 'Epoch'
|
|---|
| 11 | # set ylabel 'Nebulous Requests'
|
|---|
| 12 | # plot './results.gnuplot.fmt' using (mega($1)):2 title "Nebulous Requests vs Time" with lines
|
|---|
| 13 |
|
|---|
| 14 | # # Apache Errors vs Time
|
|---|
| 15 | # set output 'apacheErrors_vs_Time.jpg'
|
|---|
| 16 | # set xlabel 'Epoch'
|
|---|
| 17 | # set ylabel 'Apache Errors'
|
|---|
| 18 | # plot './results.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|
| 19 |
|
|---|
| 20 | # Nebulous Requests and Apache Errors vs Time
|
|---|
| 21 | set xlabel 'Epoch (Ms)'
|
|---|
| 22 | set ylabel 'Neb. Req. (/1000) --- Apache errors'
|
|---|
| 23 | set output 'apacheErrors_and_nebulousRequests_vs_Time.jpg'
|
|---|
| 24 | plot './results.gnuplot.fmt' using (mega($1)):(kilo($2)) title "Nebulous Requests vs Time" with lines, './results.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|
| 25 |
|
|---|
| 26 | # Apache Errors vs Nebulous Requests
|
|---|
| 27 | set output 'apacheErrors_vs_nebulousRequests.jpg'
|
|---|
| 28 | set xlabel 'Nebulous Requests (/1000)'
|
|---|
| 29 | set ylabel 'Apache Errors'
|
|---|
| 30 | set yrange [0:]
|
|---|
| 31 | set output 'apacheErrors_vs_nebulousRequests.jpg'
|
|---|
| 32 | plot './results.gnuplot.fmt' using (kilo($2)):3 title "Apache Errors vs Nebulous Requests"
|
|---|
| 33 |
|
|---|
| 34 | # Apache Errors vs Nebulous Requests local
|
|---|
| 35 | set output 'apacheErrors_and_nebulousRequests_vs_time_local.jpg'
|
|---|
| 36 | set xlabel 'Epoch'
|
|---|
| 37 | set ylabel ''
|
|---|
| 38 | set yrange [0:]
|
|---|
| 39 | plot './results_extract.gnuplot.fmt' using (mega($1)):(kilo($2)) title "Nebulous Requests vs Time" with lines, './results_extract.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|
| 40 |
|
|---|
| 41 | # Apache Errors vs Nebulous Requests local
|
|---|
| 42 | set xlabel 'Epoch'
|
|---|
| 43 | set ylabel ''
|
|---|
| 44 | set yrange [0:]
|
|---|
| 45 | set output 'apacheErrors_and_otherNebulousRequests_vs_time_local.jpg'
|
|---|
| 46 | plot './results_extract.gnuplot.fmt' using (mega($1)):($9/50) title "Other Nebulous Requests (/50) vs Time" with lines, './results_extract.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|
| 47 |
|
|---|
| 48 | # Apache Errors vs Non-Nebulous Requests local
|
|---|
| 49 | set xlabel 'Epoch'
|
|---|
| 50 | set ylabel ''
|
|---|
| 51 | set yrange [0:]
|
|---|
| 52 | set output 'apacheErrors_and_NonNebulousRequests_vs_time_local.jpg'
|
|---|
| 53 | plot './results_extract.gnuplot.fmt' using (mega($1)):10 title "Non-Nebulous Requests vs Time" with lines, './results_extract.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|
| 54 |
|
|---|
| 55 | # Apache Errors vs Non-Nebulous Requests
|
|---|
| 56 | set output 'apacheErrors_vs_nebulousRequests.jpg'
|
|---|
| 57 | set xlabel 'Non-Nebulous Requests'
|
|---|
| 58 | set ylabel 'Apache Errors'
|
|---|
| 59 | set yrange [0:]
|
|---|
| 60 | set output 'apacheErrors_vs_nebulousRequests.jpg'
|
|---|
| 61 | plot './results_extract.gnuplot.fmt' using (mega($1)):8 title "Non-Nebulous Requests vs Time" with lines, './results_extract.gnuplot.fmt' using (mega($1)):3 title "Apache Errors vs Time" with lines
|
|---|