- xtmp2011-06-23论坛元老7110
netstat -nat|grep -i "80"|wc -l
1358~# netstat -nat |awk '{print $6}'|sort|uniq -c|sort -rn
813 ESTABLISHED
256 SYN_RECV
99 FIN_WAIT2
88 LAST_ACK
51 FIN_WAIT1
33 CLOSE_WAIT
19 TIME_WAIT
4 LISTEN
1 established)
1 Foreign~# netstat -anlp|grep 80|grep tcp|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|sort -nr|head -n20
39 58.8.220.250
35 202.57.133.247
26 189.15.139.140
25 175.144.123.200
22 189.15.95.154
20 190.235.39.133
19 223.205.160.125
19 118.173.192.255
18 125.26.87.192
18 118.173.22.161
16 178.123.45.103
14 59.180.155.248
14 41.233.218.115
14 31.140.87.50
12 203.144.65.4
12 201.230.24.126
11 223.207.37.105
10 82.209.239.58
10 190.235.72.31
10 182.52.100.66[33522.052069] TCP: too many of orphaned sockets (230 in CT154)
[33522.069343] TCP: too many of orphaned sockets (229 in CT154)
[33522.125741] TCP: too many of orphaned sockets (227 in CT154)
[33522.136039] Out of socket memory
[33522.146147] TCP: too many of orphaned sockets (225 in CT154)
[33524.737197] Out of socket memory
[33527.648043] Out of socket memory
[33531.208040] Out of socket memory
[33539.204028] Out of socket memory
[33542.833625] Out of socket memory
[33544.844044] Out of socket memory
[33548.669020] Out of socket memory
[33549.848157] TCP: too many of orphaned sockets (227 in CT154)
[33549.852036] Out of socket memory
[33549.880024] Out of socket memory
[33549.881471] TCP: too many of orphaned sockets (224 in CT154)
[33549.881818] TCP: too many of orphaned sockets (224 in CT154)
[33549.898222] TCP: too many of orphaned sockets (223 in CT154)
[33549.908170] TCP: too many of orphaned sockets (223 in CT154)
[33549.910366] TCP: too many of orphaned sockets (223 in CT154)
[33549.913683] TCP: too many of orphaned sockets (223 in CT154)
[33556.900024] Out of socket memory
[33561.184018] Out of socket memory
[33561.189041] Out of socket memory
[33566.269027] Out of socket memory
[33568.221027] Out of socket memory
[33571.860032] Out of socket memory
[33578.884024] Out of socket memory
[33580.765021] Out of socket memory
[33580.840011] Out of socket memory
[33580.840028] Out of socket memory
[33580.840035] Out of socket memory
[33582.600041] Out of socket memory
[33584.064022] Out of socket memory
[33584.612026] Out of socket memory
[33586.452029] Out of socket memory
[33589.052022] Out of socket memory
[33589.808018] Out of socket memory
[33593.049312] Out of socket memory
[33594.320037] Out of socket memory
[33595.236056] Out of socket memory
[33603.832021] Out of socket memory
[33604.112030] Out of socket memory
[33604.881030] Out of socket memory
[33612.704028] Out of socket memory
[33612.704046] Out of socket memory
[33612.704053] Out of socket memory
[33613.244043] Out of socket memory
[33616.417048] Out of socket memory
[33618.084023] Out of socket memory
[33620.024027] Out of socket memory
[33620.992024] Out of socket memory
[33623.868024] Out of socket memory
[33624.104025] Out of socket memory[ 本帖最后由 xtmp 于 2011-6-23 09:55 编辑 ]