lunix系统统计tcp句柄
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 端口统计 netstat -n |grep 1521| awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}' 句柄统计 lsof -n|awk '{print $2}'|sort|uniq -c|sort -nr|more cat localhost_access_log.2017-06-08.txt|awk '{if($5 = "/llzqapp/indexapp.html" ){print $0}}' > testa.log
做个快乐的删库程序员,随时准备跑路^_^