vnstat

Console-based network traffic monitor for Linux and BSD

brewmacoslinux
Try with needOr install directly
Source

About

Console-based network traffic monitor

Commands

vnstatvnstati

Examples

Display network traffic statistics for all interfaces$ vnstat
Show hourly traffic statistics for a specific interface$ vnstat -h -i eth0
Generate a PNG graph of network traffic$ vnstati -s -i eth0 -o traffic.png