If I understand correctly you want some sort of indicator to show network traffic totals. As suggested here you could use vnstat
, although it is a command line utility.
Another option would be to combine vnstat
and indicator-sysmonitor
. For example if you want monthly totals in MiB to be displayed alongside other indicators install vnstat
, then follow the instructions for installing indicator-sysmonitor
here, except use a script like this instead:
#!/bin/bash
echo "Tx (MiB):"$( vnstat -i wlan0 --dumpdb | grep "m;0" | cut -d ";" -f4)\
"--- Rx (MiB):"$( vnstat -i wlan0 --dumpdb | grep "m;0" | cut -d ";" -f5)
The output would look something like this: Tx (MiB):41 --- Rx (MiB):3
and will be displayed alongside your indicators at the top of your screen, all you need to do is modify the script to display and format the data you are interested in.
You will need to change the wlan
part of the script to what ever interface you are using, check ifconfig
.