三个监控linux网卡流量脚本
操作系统
脚本1:#!/bin/bashe0_in_old=$(ifconfig eth0 |grep bytes |awk '{print $2“ “$6}' |egrep -o '[0-9]+' |head -n1)e0_out_old=$(ifconfig eth0 |grep bytes |awk '{print $2“ “$6}' |egrep -o '[0-9]+' |tail -n1)>e0_total_old=$(