netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
awk '{print $1}' timedebug_log.3 |sort|uniq -c |sort -nr |head -20
sed -i s 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/conf
losf -i tcp:80
本文共 261 字,大约阅读时间需要 1 分钟。
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'
awk '{print $1}' timedebug_log.3 |sort|uniq -c |sort -nr |head -20
sed -i s 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/conf
losf -i tcp:80
转载于:https://blog.51cto.com/cpvbird/1440535