题解 | #netstat练习1-查看各个状态的连接数#
netstat练习1-查看各个状态的连接数
https://www.nowcoder.com/practice/f46a302d14e04b149bb50670f255293a
#!/bin/bash cat nowcoder.txt | grep -i 'tcp' | awk '{print $6}' | sort | uniq -c | sort -nrk 1 | awk '{print $2,$1}'
netstat练习1-查看各个状态的连接数
https://www.nowcoder.com/practice/f46a302d14e04b149bb50670f255293a
#!/bin/bash cat nowcoder.txt | grep -i 'tcp' | awk '{print $6}' | sort | uniq -c | sort -nrk 1 | awk '{print $2,$1}'
相关推荐