1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-21 16:55:20 +02:00

ircstat/stat: add processing of irclog.whitequark.org; rename #milkymist to #m-labs

This commit is contained in:
Werner Almesberger 2014-01-04 21:29:55 -03:00
parent 51106cf9b3
commit 1fab23c11c

View File

@ -31,7 +31,8 @@ for y in 10 11 12 13; do
# cat ${Q}_20${y}-${mm}-*.log.html | gzip -9 | wc -c >>_out
qn=`sed 's/<[^>]*>/ /g' ${Q}_20${y}-${mm}-*.log.html |
gzip -9 | wc -c`
mn=`sed 's/<[^>]*>/ /g' ${M}_20${y}-${mm}-*.log.html |
mn=`{ sed 's/<[^>]*>/ /g' ${M}_20${y}-${mm}-*.log.html;
sed 's/^[^ ]* //' m-labs/20${y}-${mm}.txt; } |
gzip -9 | wc -c`
echo $qn $mn >>_out
n=`expr $n + 1`
@ -51,7 +52,7 @@ set title "Traffic on the Qi-Hardware IRC channels"
set xlabel "Month"
set ylabel "Traffic (kbytes gzip'ed)"
plot "$src" using (\$1/1000) with lines title "#qi-hardware" lw 2, \
"$src" using (\$2/1000) with lines title "#milkymist" lw 2, \
"$src" using (\$2/1000) with lines title "#m-labs" lw 2, \
"$src" using :((\$1+\$2)/1000) with lines title "Both" lw 2
set term png
set output "out.png"