Re: Should vnstat be running continuously (daemon or otherwise) to update it's database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 27.07.2005 schrieb Parameshwara Bhat um 9:11:

> Attn: Mr.Alexander Dalloz,

Hello :)

> I have installed vnstat to collect network traffic information. It's man  
> page says it collects data from /proc entries. Now my question is, should  
> I be running it as a daemon or in the background or as a bootup/shutdown  
> sequence so that each time my desktop goes down, it is able to collect  
> data from /proc as I guess /proc data is dynamic .

> Parameshwara Bhat

It is usual to let vnstat run from a cronjob. The vnstat package from
Fedora Extras ships that cronjob in /etc/cron.d/vnstat. It runs every 5
minutes and updates the database. If you prefer you can add "vnstat -u"
in a script run at shutdown to let it log more precisely (or lower the
cronjob frequency to 1 per minute).

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 13:32:55 up 11 days, 18:05, load average: 0.09, 0.13, 0.08 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux