Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

count the number of maillog for certain hour and sum total

tail -5000 /var/log/maillog | awk '{print $3}' | grep -E "11:[0-9]" | sort -n | uniq -c | sort -n | awk '{print $1}' | awk '{ sum+=$1} END {print sum}'