Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I trying to configure vnstat...and anyway when I do vnstat -u it does say it updates but data does not change...if I do vnstat -l for live view and then go out of it and do vnstat -u it does update

Is there a way I can do it without being in live all the time?

share|improve this question

Type "ps aux | grep vnstat" in a terminal

You should see a line like this:

root 1091 0.0 0.0 1956 596 ?  Ss   17:21   0:00 /usr/sbin/vnstatd -d

If not, it means the update daemon is not running.
Several causes:
- the computer was not rebooted since you installed vnstat
- the daemon is not installed (type "ll /etc/init.d/vnstat" and check that no error message is returned)

As soon as the daemon is running with default settings, you will have updates of stats every 5 minutes. Just type "vnstat" at 5 minutes intervall to validate (check the first line "Database updated ")

share|improve this answer
Daemon is running. Still doesn't update :( – Josip Gòdly Zirdum Feb 3 '12 at 19:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.