Linux only
Calculates the mb/s network traffic coming into the server. You need to change bond0 in your env and $6 may be $5 depending on your sar output.
sar -n DEV 1 5 | grep "eth0 " | awk '{mb = $6 /1024/1024 ; print mb}'
Linux only
Calculates the mb/s network traffic coming into the server. You need to change bond0 in your env and $6 may be $5 depending on your sar output.
sar -n DEV 1 5 | grep "eth0 " | awk '{mb = $6 /1024/1024 ; print mb}'