Show network traffic over time in Unix

1

Some VPSes charge for outgoing network traffic per month, so how can I check on the Unix command line how much outgoing network traffic has run so far this month?

An ASCII graph where X is days and Y is traffic would be nice bonus :)

forthrin

Posted 2013-02-27T13:48:33.630

Reputation: 1 047

Answers

1

You need to log it before you can display it. A popular logging and graphing tool is MRTG.

(Posted this as a comment at first, but I guess it is a full answer in some respect.)

Daniel Andersson

Posted 2013-02-27T13:48:33.630

Reputation: 20 465