# netstat -nat |awk '{print $6}'|sort|uniq -c |sort -rn
556 ESTABLISHED
66 TIME_WAIT
31 LISTEN
1 Foreign
1 established)
# netstat -anlp|grep 1521|grep tcp |awk '{print $5}'|awk -F: '{print $1}' | sort | uniq -c | sort -nr | head -n20
111 192.168.100.92
88 10.20.0.90
78 10.20.0.99
64 192.168.100.93
64 10.20.0.27
50 10.20.0.201
43 10.20.0.96
40 10.20.0.92
35 10.20.0.91
33 10.20.0.93
28 10.20.0.97
24 10.20.0.98
22 10.20.0.100
18 192.168.100.90
13 192.168.100.140
13 10.20.0.107
7 10.20.0.191
6 192.168.100.97
6 10.20.0.101
4 10.20.0.72
文章评论