diff options
| author | Paul Buetow <paul@buetow.org> | 2011-04-10 19:27:35 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-04-10 19:27:35 +0000 |
| commit | e2c57a7e7b06308401968989c0323777106317d5 (patch) | |
| tree | a2f3661148b83e49e76e390cbc018381ef9e022b | |
| parent | 8e09a0d5ff3eacbf6f64b6f39bede198aa415c87 (diff) | |
| -rwxr-xr-x | scripts/stats/calc.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/stats/calc.sh b/scripts/stats/calc.sh index dfb7453..66732cb 100755 --- a/scripts/stats/calc.sh +++ b/scripts/stats/calc.sh @@ -29,21 +29,6 @@ Yearly top ten: `echo "$ls" | tail -n 356 | xargs cat | perl -e "$perl"` -STATS -ftp://ftp.buetow.org download top ten: - -exit 0 -`gawk ' - $9 ~ /^\/data\/ftp\// { ++dl[\$9] } - END { - for (k in dl) - d[k] = sprintf("%3d %s", dl[k], k) - n = asort(d) - rank = 1 - for (i = n; i > 0 && rank < 11; --i) - printf "%2.d%s\n", rank++, d[i] - }' /var/log/proftpdtransfer.log | sed s,/data/ftp/,,` - This stats are powered by Perl, GNU AWK and Bourne Shell STATS |
