You are not logged in.
Pages: 1
Topic closed
link to vnstat
http://humdi.net/vnstat/
hi,
does anyone run vnstat successfull with AL? It's really not hard to setup but somehow it won't work.. instead of getting data vnstat always complains about not enough data.. no matter how long i wait
.:[mith@middleearth]:..:[~]:.
.:[ vnstat
eth0: Not enough data available yet.any idea?
ArchLinux (x86_64) w/ kdemod
Offline
http://forums.humdi.net/viewtopic.php?t=265
dump your "ifconfig eth0" output here - if ifconfig displays Tx 0 and Rx 0 then your driver doesn't support traffic information
Offline
.:[root@middleearth]:..:[/etc/cron.d]:.
.:[ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0C:76:58:FE:B5
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:76ff:fe58:feb5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111564 errors:0 dropped:0 overruns:0 frame:0
TX packets:98506 errors:0 dropped:0 overruns:0 carrier:0
collisions:9 txqueuelen:1000
RX bytes:132878986 (126.7 Mb) TX bytes:7510522 (7.1 Mb)
Interrupt:23 Base address:0xdc00thx phrakture for trying to help!
so i guess the driver is fine.. I just did a
vnstat -uas root, since that's sorta what the vnstat file in /etc/cron.d/ does.. and now I have data..
question: could it be that /etc/cron.d/ is working right ?
I did a
tail -f /var/log/messages and there's no vnstat running ( i remember that the vnstat update call came up in /var/log/messages in my old distri )
so what can I do? I need to fix that cron issue, my guess there's my problem
ArchLinux (x86_64) w/ kdemod
Offline
0,5,10,15,20,25,30,35,40,45,50,55 * * * * vnstat -uthat's what i added to my root crontab.. dunno why it won't work the normal way but this way it's updated every 5minutes..
edit:
*/5 * * * * vnstat -uthx to b0uncer!
it still runs every 5minutes but looks so much cooler ![]()
ArchLinux (x86_64) w/ kdemod
Offline
Thx Mith, looks like vnstat doesn't properly install the cron job. Easy as
crontab -eand putting there your stuff.
Again, thanks!
Offline
KBM,
No necro-bumping.
This thread is from 2004, almost 7 years old!
Mith hasn't posted in 3 years. I don't think any of them will see your response.
Read and memorize all of this: https://wiki.archlinux.org/index.php/Forum_Etiquette
Closing.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed