Permalink
Browse files

streamstats (ds12, pentaradio-20121127)

  • Loading branch information...
1 parent f695ab5 commit 4b3bfe1d36ddee561215ea0ce6528b313b113a53 @astro astro committed Nov 28, 2012
View
@@ -0,0 +1,14 @@
+pentaradio-20121127.png: pentaradio-20121127.gnuplot pentaradio-20121127-audio.data pentaradio-20121127-video.data
+ gnuplot $<
+
+ds12.png: ds12.gnuplot ds12.data
+ gnuplot $<
+
+%.data: %.stats stats2data
+ time ./stats2data < $< > $@
+
+stats2data: stats2data.hs
+ ghc --make -O2 $@
+
+clean:
+ rm -f stats2data{,.hi,.o} *.data *.png
View
@@ -0,0 +1,15 @@
+set terminal png size 600,400 font "Helvetica, 10"
+set xdata time
+set timefmt "%s"
+set output "ds12.png"
+#set xrange ["1354050342":"1354057331"]
+set xtics 4*3600 format "%a %H:%M"
+set yrange [0:35]
+set grid
+set xlabel "Time"
+set ylabel "Connections"
+set title "Stream listeners"
+set key left box
+plot \
+ "ds12.data" using ($1+7200):2 title "Großer Saal" with lines smooth csplines, \
+ "ds12.data" using ($1+7200):3 title "Kleiner Saal" with lines smooth csplines
Oops, something went wrong.

0 comments on commit 4b3bfe1

Please sign in to comment.