E-mail letter to ranking statistics
2011-09-01 15:39
211 查看
As the demand for statistics about the number of the sender of the message, the following is my method:
本文出自 “飞奔的蜗牛” 博客,请务必保留此出处http://zhangbo.blog.51cto.com/350645/655666
cat /var/log/maillog | egrep 'Sep 1.*Passed'| awk '{print $11,$13}' |awk -F "," '{print $1,NF}' | awk '{print $1,$3}'| sort -n |awk '{a[$1]=$1;if($1==a[$1])b[$1]=b[$1]+$2}END{for(i in b)print b[i],a[i]}' |sort -rn |more
The results:
6413 wdradio@xxx 4216 service@xxx 3144 dt_job@xxx 2647 gongqiao@xxx 2325 dtzhaopin@xxx 2265 mhss_tousu@xxx 2235 wangyanan@xxx 2233 dmx_service@xxx 2183 dmx_tousu@xxx 2067 chuangshi@xxx 2000 linshaozhu@xxx 1832 liurui@xxx 1635 zhangqianqian@xxx 1466 kxzd1@xxx 1276 kxzd2@xxx
本文出自 “飞奔的蜗牛” 博客,请务必保留此出处http://zhangbo.blog.51cto.com/350645/655666
相关文章推荐
- PowerShell cmdlet to add permission to mailbox
- Quick Tutorial on how to add MFMailComposeViewController
- Winmail.dat 查看器 - Letter Opener for Mac (邮箱辅助工具)免注册版 v9.2.1最新破解版
- using System.Web.Mail to send email
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server
- Letter to My Boss on Aug 24
- allow Subclipse team to receive anonymous usage statistics for this Eclipse instance
- unable to create new native thread&You have mail in /var/spool/mail/root
- unable to create new native thread&You have mail in /var/spool/mail/root
- How to backup and restore data and e-mail account settings in Outlook 2007
- JavaMail 553 You are not authorized to send mail
- Introduction to statistics
- Exporting Mailbox Data to a PST File in Exchange 2007 SP1(如何导出邮箱数据为PST文件)
- Reading "Using SAS/IML to Generate Weighted Chi-Square Statistics"
- Unsupported major.minor version 52.0 (unable to load class com.servlet.MailSenderServlet)
- A letter to our daughter——马克·扎克伯克
- [Postfix讨论] ExtMail Solution HOWTO for Linux
- login SMTP send mail error : Unable to read data from the transport connection: net_io_connectionclosed
- [转]让国外邮件服务商不再拒收你的邮件,The IP you're using to send mail is not authorized
- mailto outlook