From: František Dvořák Date: Sat, 7 Mar 2015 23:43:22 +0000 (+0100) Subject: HOWTO script. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b897f5f452def308c2fe1917bd0dd77520cf5524;p=hadoop-jobstat.git HOWTO script. --- diff --git a/HOWTO.sh b/HOWTO.sh new file mode 100755 index 0000000..dc9d992 --- /dev/null +++ b/HOWTO.sh @@ -0,0 +1,4 @@ +# !/bin/sh +./chroust.py -i $((6*3600)) -c hador.txt > nodes.dat +./nodes.dem +./nodes-sum.dem diff --git a/nodes-sum.dem b/nodes-sum.dem new file mode 100755 index 0000000..5e1b699 --- /dev/null +++ b/nodes-sum.dem @@ -0,0 +1,9 @@ +#! /usr/bin/gnuplot -p + +set xdata time +set timefmt "%Y-%m-%d %H:%M:%S" +set format x "%Y-%m-%d" + +set xtics rotate by -20 + +plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines diff --git a/nodes.dem b/nodes.dem index 4f4f509..7a99940 100755 --- a/nodes.dem +++ b/nodes.dem @@ -6,5 +6,5 @@ set format x "%Y-%m-%d" set xtics rotate by -20 -#plot for [i=3:26] 'nodes.dat' using 1:(column(i+1)) title column(i) with lines -plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines +plot for [i=3:26] 'nodes.dat' using 1:(column(i+1)) title column(i) with lines +#plot for [i=3:26] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) notitle with lines