abril 6th, 2010
awk awk awk
Posted by
Felipe Olivaes in
xalassa
# netstat -napo |grep IP:80 | awk {‘print $5’} | cut -d: -f1 | sort | uniq -cd | sort
# cat xxxx |grep LOGIN | awk ‘{print $7}’ | cut -d”@” -f2 | sort | uniq -cd | sort > /root/top10_login.txt
# cat yyy |grep sent | awk ‘{print $7}’ | cut -d”@” -f2 | sort | uniq -cd | sort > /root/top10_recebimento.txt