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

Re: How to run 'vnstat' as user?



<tomas@tuxteam.de> writes:

> On Mon, Oct 19, 2015 at 06:09:41PM +0100, Sharon Kimble wrote:
>> <tomas@tuxteam.de> writes:
>> 
>> > On Mon, Oct 19, 2015 at 03:09:29PM +0100, Sharon Kimble wrote:
>> >> I'm having great difficulty in getting vnstat to run as user, like I had
>> >> on my previous i386 computer [...]
>
>> > Hmm. Trying to understand: you are trying to run vmstat from cron?
>> > Does it work when you run it from the command linee?
>> >
>> 
>> No, I only store the "eth0" in a subdirectory of my cron directory. I am
>> trying to start it as user on the command-line.
>
> Still confused here. What's the content of this "eth0" file?
>
Its a binary file produced by running "vnstat -u -i eth0" and is the
'database' for vnstat, containing all the historical info that can be
outputted when you run the command "vnstat".

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3

Attachment: signature.asc
Description: PGP signature


Reply to: