nbFatal=`grep FATAL $2*.log | sed "s/.*\(FATAL.*\)/\1/" | tee $1.1 | wc -l`nbErrors=`grep ERROR $2*.log | sed "s/.*\(ERROR.*\)/\1/" | tee $1.2 | wc -l`nbWarns=`grep WARN $2*.log | sed "s/.*\(WARN.*\)/\1/" | tee $1.3 | wc -l`
Aucun commentaire:
Enregistrer un commentaire