X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=dograph;h=0ce2fb961d8b76316dd7c7edd3bc80e41170c37f;hp=a005901e4e4c3463251caab58397354310cddd37;hb=c0f4a4d5ce63338390dfd851c4b403769266d0d7;hpb=c0db4b9d56c1fbb988dffa9fff9f86d181d8b270 diff --git a/dograph b/dograph index a005901..0ce2fb9 100755 --- a/dograph +++ b/dograph @@ -2,17 +2,17 @@ set -e -cd /home/sesse/bugscan +cd /org/bugs.debian.org/bugscan tmp=`tempfile` tmp2=`tempfile` tmp3=`tempfile` -find counts -type f | sort | xargs grep '^' /dev/null | +find counts -type f -not -iname '*.bad'| sort | xargs grep '^' /dev/null | sed 's/^.*count-//;s/ .*$//;s/:/ /' >"$tmp" -find counts -type f | sort | xargs egrep '^(.* ){6}' /dev/null | tr ":-" " " | +find counts -type f -not -iname '*.bad'| sort | xargs egrep '^(.* ){6}' /dev/null | tr ":-" " " | cut -d" " -f2,9 >"$tmp2" -find counts -type f | sort | xargs egrep '^(.* ){7}' /dev/null | tr ":-" " " | +find counts -type f -not -iname '*.bad'| sort | xargs egrep '^(.* ){7}' /dev/null | tr ":-" " " | cut -d" " -f2,10 >"$tmp3" #for i in counts/count-[0-9]* ; do @@ -31,9 +31,9 @@ set terminal png set yrange [0:] #set xtics 2678400 #set nomxtics -set output "/home/sesse/bugscan/www/graph.png" +set output "/org/bugs.debian.org/www/bugscan/graph.png" plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines quit EOF -rm "$tmp" "$tmp2" +rm "$tmp" "$tmp2" "$tmp3"