Bug 177590 - Very wrong network information shown in ksysguard
Summary: Very wrong network information shown in ksysguard
Status: RESOLVED DUPLICATE of bug 172889
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-12 15:10 UTC by SlashDevDsp
Modified: 2009-01-04 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SlashDevDsp 2008-12-12 15:10:21 UTC
Version:            (using Devel)
Compiler:          g++ 4.1.3 
OS:                Linux
Installed from:    Compiled sources

wrong network MBi/s shown in the network section, currently with almost very little activity on the network, below is what i see on ksysguard. This is a must fix.
http://img444.imageshack.us/img444/8269/snapshot1gg0.jpg
Comment 1 John Tapsell 2008-12-13 00:51:33 UTC
SVN commit 896261 by johnflux:

Try to make the data a lot more reliable.

CCBUG:177590
CCBUG:169913


 M  +24 -12    netdev.c  


WebSVN link: http://websvn.kde.org/?view=rev&revision=896261
Comment 2 John Tapsell 2008-12-13 00:53:46 UTC
Hi,

 Could you tell me if you have a wifi device ?  It would be great if you could send me the output of   ifconfig -a   :-)

Thanks!

*** This bug has been marked as a duplicate of bug 172889 ***
Comment 3 SlashDevDsp 2008-12-13 02:45:52 UTC
yes I was live on the wifi device and the ethernet device was down at the time of the screenshot. below is the output of ifconfig -a (HWaddr is changed to xx:xx...)

 ifconfig -a
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 

eth1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet addr:192.168.1.16  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2218 errors:13 dropped:906 overruns:0 frame:0
          TX packets:2223 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2010801 (1.9 MB)  TX bytes:389499 (380.3 KB)
          Interrupt:17 Base address:0xe000 Memory:ecfff000-ecffffff 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1592 (1.5 KB)  TX bytes:1592 (1.5 KB)
Comment 4 SlashDevDsp 2008-12-13 14:17:09 UTC
it is still not fixed yet. http://img177.imageshack.us/img177/9182/snapshot1hj1.jpg

shows ksysguard with almost 6.5MiB/s where as the systemplasmoid with network is showing almost no activity on the network. At the time of the screenshot there was no network activity. 

please fix this
Comment 5 John Tapsell 2008-12-13 15:24:50 UTC
Just to confirm - this screenshot was taken with the latest SVN?  You need to 'make install' for ksysguard to use the new ksysguardd.  Could you paste the result of running:

ifconfig -a
echo "network/interfaces/lo/transmitter/data" | ksysguardd
echo "network/interfaces/eth0/transmitter/data" | ksysguardd
echo "network/interfaces/eth1/transmitter/data" | ksysguardd

Thanks
Comment 6 SlashDevDsp 2008-12-14 10:33:27 UTC
kde-devel@lappy:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17

eth1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.1.16  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2400 errors:12 dropped:1687 overruns:0 frame:0
          TX packets:1674 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2903951 (2.7 MB)  TX bytes:270572 (264.2 KB)
          Interrupt:17 Base address:0xa000 Memory:ecfff000-ecffffff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:712166 errors:0 dropped:0 overruns:0 frame:0
          TX packets:712166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2352820476 (2.1 GB)  TX bytes:2352820476 (2.1 GB)


kde-devel@lappy:~$ echo "network/interfaces/{lo,eth0,eth1}/transmitter/data" | ksysguardd
ksysguardd 4
(c) 1999, 2000, 2001, 2002 Chris Schlaeger <cs@kde.org>
(c) 2001 Tobias Koenig <tokoe@kde.org>
(c) 2006-2008 Greg Martyn <greg.martyn@gmail.com>
This program is part of the KDE Project and licensed under
the GNU GPL version 2. See http://www.kde.org for details.
ksysguardd> 0

For all the interfaces I get the same result as above
Comment 7 SlashDevDsp 2009-01-04 12:56:09 UTC
i am still having the problem with ksysguard showing wrong tx/rx traffic for my ethernet devices, any ideas on whats happening? this is with latest kde/qt-copy trunk (compiled about 8hrs ago)

ps: i should mention that i am running kernel 2.6.22, if that is of any help. LEt me know if I need to run any other tests to check. I am surprised that the network plasmoid actually shows the correct information.

btw, is the tx/rx information shown unique for each of the network device throughput or a cumulative of all the network devices?
Comment 8 SlashDevDsp 2009-01-04 12:59:28 UTC
this is with: qt-copy 905254, kdebase:905255, kdelibs: 905232