Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5970

get amount of used internet traffic in server [closed]

$
0
0

I have multiple servers and they have limited internet traffic usage.Unfortunately, the provider has not set up a system to notify the remaining traffic for the servers.

And I am also trying to build a notification system.

I was able to get the amount of traffic consumed with the following command, but this amount starts from 0 every time the server is rebooted.

ifconfig eth0 | grep -E "RX packets" | awk '{print $5}'

what should i do ?


Viewing all articles
Browse latest Browse all 5970

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>