watch netstat

3 秒刷一次。awk

watch -n 3 "netstat -ntu | awk '{print \$6}' | cut -d: -f1 | sort | uniq -c | sort -n"sort

相關文章
相關標籤/搜索