#!/bin/bash
#
FILE='/var/log/vsftpd.log'

#    R5B7:702185472
#    R5C7:717094912
#    R5D1:666017792
#    R5E50:525899776
LIST='
    R5F1:584323072
    R5F27:646029312
    R5.5:732708864
'
#
date
for i in $LIST ; do
    n=${i%:*} ; s=${i#*:}
    cnt=`cat $FILE* | grep "$n" | grep " $s " | wc -l`
    printf "%-8s : %6d\n" $n $cnt
#    printf "%-8s : %6d\n" $n `grep "$n" $FILE | grep " $s " | wc -l`
done
exit 0
#
# End
