I just need to get how much bandwidth is used in 3 or 4 days. Do you have any application in the terminal to do it?
I'd prefer if it didn't use SNMP.
I found iptraf
, wireshark
, cacti
, but they were not what I am looking for.
Of course I need to save my results; for a single computer, not a network.
It's very important that I can see the total size of inbound and outboud traffic.
What solutions are there for me?
Best Answer
You know you already have that with
ifconfig
right?Ifconfig keeps counters about your incomming and outgoing bandwidth on each interface by default. Usually you can't reset counters except rebooting (with a few exceptions)
From console you can easily leave a cron running each three days and saving results to a file for later check. Something like this:
Will produce this kind of output per run on the file bw.log at users home.
My two cents...