IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

nebulous-performance-analysis: instructions.gnuplot

File instructions.gnuplot, 2.7 KB (added by Serge CHASTEL, 15 years ago)
Line 
1# Useful functions
2kilo(x) = x/1000
3mega(x) = x/1000000
4
5# Change terminal
6set 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
21set xlabel 'Epoch (Ms)'
22set ylabel 'Neb. Req. (/1000) --- Apache errors'
23set output 'apacheErrors_and_nebulousRequests_vs_Time.jpg'
24plot './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
27set output 'apacheErrors_vs_nebulousRequests.jpg'
28set xlabel 'Nebulous Requests (/1000)'
29set ylabel 'Apache Errors'
30set yrange [0:]
31set output 'apacheErrors_vs_nebulousRequests.jpg'
32plot './results.gnuplot.fmt' using (kilo($2)):3 title "Apache Errors vs Nebulous Requests"
33
34# Apache Errors vs Nebulous Requests local
35set output 'apacheErrors_and_nebulousRequests_vs_time_local.jpg'
36set xlabel 'Epoch'
37set ylabel ''
38set yrange [0:]
39plot './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
42set xlabel 'Epoch'
43set ylabel ''
44set yrange [0:]
45set output 'apacheErrors_and_otherNebulousRequests_vs_time_local.jpg'
46plot './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
49set xlabel 'Epoch'
50set ylabel ''
51set yrange [0:]
52set output 'apacheErrors_and_NonNebulousRequests_vs_time_local.jpg'
53plot './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
56set output 'apacheErrors_vs_nebulousRequests.jpg'
57set xlabel 'Non-Nebulous Requests'
58set ylabel 'Apache Errors'
59set yrange [0:]
60set output 'apacheErrors_vs_nebulousRequests.jpg'
61plot './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