LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2010, 12:35 PM   #1
tincboy
Member
 
Registered: Apr 2010
Posts: 36

Rep: Reputation: 0
ifconfig RX TX accuracy


Hello,
I'm using ifconfig to monitor the bandwidth usage of one of my VMs, but lately I've notified that while the VM has absolutely no traffic the TX number in ifconfig is counting up.

here it's the output of ifconfig on VM's interface in just 10 seconds interval:

vmtab302i0 Link encap:Ethernet HWaddr 36:c9:eb:02:02:49
inet6 addr: fe80::34c9:ebff:fe02:249/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:430134 errors:0 dropped:0 overruns:0 frame:0
TX packets:999683632 errors:0 dropped:0 overruns:866628 carrier:0
collisions:0 txqueuelen:500
RX bytes:30844841 (29.4 MiB) TX bytes:136304055995 (126.9 GiB)

after 10 seconds:

vmtab302i0 Link encap:Ethernet HWaddr 36:c9:eb:02:02:49
inet6 addr: fe80::34c9:ebff:fe02:249/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:430134 errors:0 dropped:0 overruns:0 frame:0
TX packets:999683870 errors:0 dropped:0 overruns:866628 carrier:0
collisions:0 txqueuelen:500
RX bytes:30844841 (29.4 MiB) TX bytes:136304077623 (126.9 GiB)


any suggestion about stopping this auto count up?
 
Old 10-03-2010, 01:07 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by tincboy View Post
any suggestion about stopping this auto count up?
That's not the way to do things.


Quote:
Originally Posted by tincboy View Post
the VM has absolutely no traffic
I'd say prove it using 'tcpdump' on guest and host. You might be missing ARP replies or whatever.
 
Old 10-03-2010, 06:48 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Almost all nics chatter in normal use. Use wireshark to see what the packets are.
 
Old 10-04-2010, 12:54 AM   #4
tincboy
Member
 
Registered: Apr 2010
Posts: 36

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
That's not the way to do things.



I'd say prove it using 'tcpdump' on guest and host. You might be missing ARP replies or whatever.
I'm using iftop to watch the VMs traffic, and it has no traffic on it's IP.
 
Old 10-04-2010, 03:06 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Wireshark may be overkill if you're not going to use it's advanced features or don't run a GUI and iftop does not equal tcpdump.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP Server Accuracy? ftekiner Linux - Networking 4 08-05-2013 04:50 AM
Problems with SpamAssassin accuracy mgillespie Linux - Software 1 03-08-2010 03:16 PM
IP traffic accuracy petersum Linux - Networking 1 12-26-2006 12:17 AM
Please review my article for accuracy Dreamcast General 4 09-09-2005 07:19 PM
C++ Microsecond Accuracy timing CamelofCamelot Programming 2 12-22-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration