summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Cantrill <bcantrill@acm.org>2011-06-07 23:14:03 -0700
committerBryan Cantrill <bcantrill@acm.org>2011-06-07 23:14:03 -0700
commit5aad745325c6c384437e499c2cde0fb57931abaf (patch)
tree0c6b7850597c619169882fbadbb2e7cea4505ba8
parent4de52afc92ff2362d594370925b31582547781b0 (diff)
downloadillumos-kvm-5aad745325c6c384437e499c2cde0fb57931abaf.tar.gz
HVM-324 kvm-xxx doesn't generate correct gnuplot control file
-rwxr-xr-xtools/kvm-xxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/kvm-xxx b/tools/kvm-xxx
index 74d5a0f..e6c09c3 100755
--- a/tools/kvm-xxx
+++ b/tools/kvm-xxx
@@ -92,18 +92,18 @@ set ylabel "Occurences of XXX"
set xlabel "Date"
set title "Number of XXXs in KVM"
-plot "/tmp/kvm-xxx.out-all" using 1:2 with lines title "#ifdef XXX", \
- "/tmp/kvm-xxx.out-all" using 1:3 with lines title "Commented XXX"
+plot "$out-all" using 1:2 with lines title "#ifdef XXX", \
+ "$out-all" using 1:3 with lines title "Commented XXX"
set format x "%m/%d"
set title "Number of XXXs in KVM over the past month"
-plot "/tmp/kvm-xxx.out-month" using 1:2 with lines title "#ifdef XXX", \
- "/tmp/kvm-xxx.out-month" using 1:3 with lines title "Commented XXX"
+plot "$out-month" using 1:2 with lines title "#ifdef XXX", \
+ "$out-month" using 1:3 with lines title "Commented XXX"
set format x "%m/%d\n%H:%M"
set title "Number of XXXs in KVM over the past week"
-plot "/tmp/kvm-xxx.out-week" using 1:2 with lines title "#ifdef XXX", \
- "/tmp/kvm-xxx.out-week" using 1:3 with lines title "Commented XXX"
+plot "$out-week" using 1:2 with lines title "#ifdef XXX", \
+ "$out-week" using 1:3 with lines title "Commented XXX"
EOF