Found one that is closest to my requirement:
Package: bwm-ng
Priority: optional
Description-en: small and simple console-based bandwidth monitor
Bandwidth Monitor NG is a small and simple console-based live bandwidth monitor. .
Short list of features:
- supports /proc/net/dev, netstat, getifaddr, sysctl, kstat and libstatgrab
- unlimited number of interfaces supported
- interfaces are added or removed dynamically from list
- white-/blacklist of interfaces
- output of KB/s, Kb/s, packets, errors, average, max and total sum
- output in curses, plain console, CSV or HTML
- configfile
Homepage: http://www.gropp.org/?id=projects&sub=bwm-ng
Origin: Ubuntu