Using vnstat (en)

From Conky PitStop

Jump to: navigation, search

Using Vnstat

 Language   English   Français   


Programs-vnstat.png
Ayer: Yesterday Hoy: Today
Semana: Week Mes: Month



After installing vnstat you have to create a database for it to work from:

sudo vnstat -u -i eth0

(change eth0 for your network interface)

First time you run it you’ll see:

~$ sudo vnstat -u -i eth0
Error:
Unable to read database "/var/lib/vnstat/eth0".
A new database has been created.
~$

The code that produced the image above: vnstat-code.txt.tar.gz

Update: 20 Sept 10
Using:

short_units yes
pad_percents 2
TEXT

to line up the decimals with vnstat doesn't work.

Maybe, someday, someone can do something about this.

Personal tools
Namespaces
Variants
Actions
Navigation
English
Français
Toolbox