摘要: 一行代码实现 linux 指定进程网络的使用情况 pid=4203;count=0;while true;do info2=`sed -n '4,100p' /proc/$pid/net/dev |awk '{print $2" "$10}'|awk 'BEGIN {recv=0;sen=0}{re 阅读全文
posted @ 2018-11-28 17:18 vansky 阅读(3830) 评论(0) 推荐(0)