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
时间: 2024-11-07 13:35:41
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