sutex / lcdmiscellany

Automatically exported from code.google.com/p/lcdmiscellany
0 stars 0 forks source link

Net stats #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Wont show Up or Downstream stats
2.
3.

What is the expected output? What do you see instead?
Current stats, shows 0.

What version of the product are you using? On what operating system?
0.4.5.0, on windows 7 home 64bit

Please provide any additional information below.
http://code.google.com/hosting/settings

Original issue reported on code.google.com by DeadRip...@gmail.com on 1 Feb 2010 at 11:07

GoogleCodeExporter commented 9 years ago
You are using a standard network adapter (Not a USB or firewire one or 
something)? 
CPU usage is working, right?

Original comment by mattme...@gmail.com on 2 Feb 2010 at 2:51

GoogleCodeExporter commented 9 years ago
Yes, I'm using the integrated wireless card, and yes cpu and all other stats 
are working

Original comment by DeadRip...@gmail.com on 2 Feb 2010 at 7:12

GoogleCodeExporter commented 9 years ago
I'll test it on my laptop when I get a chance, but think it works fine with my
laptop's wireless...  If so, unlikely I'll be able to figure it out, 
unfortunately.

Original comment by mattme...@gmail.com on 2 Feb 2010 at 7:15

GoogleCodeExporter commented 9 years ago
I had to go into the countermanager.c and specify the net card, all good now

Original comment by DeadRip...@gmail.com on 5 Feb 2010 at 6:43

GoogleCodeExporter commented 9 years ago
That's odd...Sometimes you get duplicate devices, and I remove those, but 
otherwise,
the function to get the combined bandwidth of all devices should give exactly 
the
same thing as the sum of all devices that you could get doing things that way.  
Might
be a bug in my duplicate device detection code...

Original comment by mattme...@gmail.com on 5 Feb 2010 at 6:47

GoogleCodeExporter commented 9 years ago
Well i have a related question for you, instead of haveing to edit the script 
everytime i switch from my wireless to hardline, is there anyway to add the 2? 
This 
is what i have for currently

    function NetworkUpdate() {
        %down = GetAllDown()["Atheros AR928X Wireless Network Adapter"];
        %downGraph.Update(%down);

        %up = GetAllUp()["Atheros AR928X Wireless Network Adapter"];
        %upGraph.Update(%up);
    }

Original comment by DeadRip...@gmail.com on 8 Feb 2010 at 3:21

GoogleCodeExporter commented 9 years ago
    %down = GetAllDown()["Atheros AR928X Wireless Network Adapter"] +
GetAllDown()["Other Network Adapter Name"];

And same for up.

Original comment by mattme...@gmail.com on 8 Feb 2010 at 3:24

GoogleCodeExporter commented 9 years ago
works like a charm! thank you so much, this is by far my favorite script for my 
g13

Original comment by DeadRip...@gmail.com on 8 Feb 2010 at 9:41

GoogleCodeExporter commented 9 years ago
Issue 9 has been merged into this issue.

Original comment by mattme...@gmail.com on 4 Jul 2010 at 5:11

GoogleCodeExporter commented 9 years ago
I currently have the name of my Ethernet network adapter like

    function NetworkUpdate() {
        %down = GetAllDown()["Atheros AR928X Wireless Network Adapter"];
        %downGraph.Update(%down);

        %up = GetAllUp()["Atheros AR928X Wireless Network Adapter"];
        %upGraph.Update(%up);
    }

BUT, i still get incorrect values example, truly downloading at 1.4MB/s but it 
shows 6.30 MB/s.

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:15

GoogleCodeExporter commented 9 years ago
It seems to be around ~5x the correct value.

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:22

GoogleCodeExporter commented 9 years ago
Now that is really weird.  I believe I've had a similar report in the past, but 
I just pass on exactly what Microsoft gives to me, so don't think I can 
implement any general purpose fix, unfortunately.

However, if they always have the same ratio, you could just divide the values 
by 4 (or 5) or something, like:

%down = GetAllDown()["Atheros AR928X Wireless Network Adapter"]/4;

(I suspect it's off by a factor of 4, just because 2 levels of redundant 
reporting give you a ratio of 4 to 1, but the value you report look more like 5 
to 1).

Original comment by mattme...@gmail.com on 4 Jul 2010 at 5:23

GoogleCodeExporter commented 9 years ago
What is odd is that i have another plugin g15netspeed which shows the correct 
speeds, i will use the divide by factor method, i just dont seee what causes 
that.

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:26

GoogleCodeExporter commented 9 years ago
For checking accuracy, you should look at task manager->networking, rather than 
what an application claims.  Applications don't report overhead bandwidth, but 
I believe the value I report includes overhead.

Original comment by mattme...@gmail.com on 4 Jul 2010 at 5:27

GoogleCodeExporter commented 9 years ago
no that is what i mean, my max speed 1.4MB/s +- 100KB/s is correct else where, 
something strange is happening inside this plugin with my computer devices.

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:31

GoogleCodeExporter commented 9 years ago
There are a number of different ways of getting bandwidth.  I use a method that 
reports per-device bandwidth, and then add everything up.  No idea what method 
g15netspeed uses, and it's not open source.  As I don't have the issue on any 
of my systems, and Microsoft's specs don't mention anything about it, can't 
really look into it.

Original comment by mattme...@gmail.com on 4 Jul 2010 at 5:31

GoogleCodeExporter commented 9 years ago
thanks anyways, i will see what i can do

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:35

GoogleCodeExporter commented 9 years ago
While i got your attention, is there a way to replace the fraps FPS with EVGA 
Precision FPS?

Original comment by akbal...@gmail.com on 4 Jul 2010 at 5:56

GoogleCodeExporter commented 9 years ago
If EVGA uses shared memory, sure.  If not, not without a ton of effort on your 
part.

Original comment by mattme...@gmail.com on 4 Jul 2010 at 5:16