You could use:

vnstat: This is a command line tool that does what you're looking for
iftop: Another command line tool that resembles top

Reply via email to