Dec 09 2008

从netstat中统计ip连接数

Category: 技术ssmax @ 14:21:23

看看是不是有人攻击了,不过一般都看不出什么东东来的了

 

netstat -n | awk ‘{print $5}’ | awk -F: ‘{print $1}’ | sort |uniq -c|sort -n

Leave a Reply

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word