shell脚本
背景
收集一些平时可能会用到的Linux脚本。
内容
tcp连接统计
netstat -an | awk ‘/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}‘在程序中执行外部脚本
- system()
- popen()
相关推荐
laisean 2020-11-11
zhangjie 2020-11-11
大牛牛 2020-10-30
firefaith 2020-10-30
liguojia 2020-10-20
wangzhaotongalex 2020-10-20
CARBON 2020-10-20
JohnYork 2020-10-16
xiaonamylove 2020-10-16
Julyth 2020-10-16