From e8ea7506476038f4830ab67b2c226af9648f96d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 7 Jan 2016 16:37:12 +0100 Subject: [PATCH] Lates tunin of cluster usage summary. --- nodes-sum.dem | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nodes-sum.dem b/nodes-sum.dem index 0ef925e..40894d9 100755 --- a/nodes-sum.dem +++ b/nodes-sum.dem @@ -1,6 +1,6 @@ #! /usr/bin/gnuplot -p -set title "Hadoop: Map/Reduce Tasks Summary" font ',16' +set title "Hadoop: Map/Reduce Tasks Cluster Usage (max 384)" font ',12' set xdata time set timefmt "%Y-%m-%d %H:%M:%S" set format x "%Y-%m-%d" @@ -8,6 +8,9 @@ set format x "%Y-%m-%d" set yrange [0:384] set xtics rotate by -20 -#plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title 'jobs (max 384)' +# map/reduce, without filling +#plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title column(i) -plot for [i=3:4] 'nodes.dat' using 1:(sum [col=4:i+1] column(col)) with lines title column(i) +# map/reduce separately +plot 'nodes.dat' using 1:(column(4)) with filledcurves x1 title column(3), \ + '' using 1:4:(column(4)+column(5)) with filledcurves below closed title column(4) -- 1.8.2.3