Kitutz / rainmeter

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

Network Traffic Measures #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
While going over the way that the NetIn and NetOut Measures actually
calculate network traffic, todoroff found some interesting things:

[16:26] <btodoroff> It uses GetIfTable and the resulting MIB_IFROW structure.
[16:26] <btodoroff> This gives total octets through the interface.
[16:27] <btodoroff> It keeps a vector of past results and does some magic
fu to come up with a speed.
[16:27] <btodoroff> I don't like it, and it seems there should be a better
way using performance counters or such.
[16:31] <btodoroff> See void CMeasureNet::UpdateIFTable() in MeasureNet.cpp.

An improvement on how rainmeter gathers data for these values would be useful.

While on the topic of these two Measures, it would be useful if they
returned Bytes in/out, rather than bits.  Bytes are used the majority of
the time, rather than bits, by most users.

Original issue reported on code.google.com by austinporter1@gmail.com on 14 Apr 2009 at 1:32

GoogleCodeExporter commented 8 years ago
The NetIn command is registering activity for the lan network while it is 
plugged in,
but not online. I would like instead for my internet connection activity to be
measured and displayed. Possible?

Original comment by bryanaba...@gmail.com on 22 May 2009 at 2:41

GoogleCodeExporter commented 8 years ago
So, your sharing the internet connection of another computer through the 
network?

For future questions, help, etc, could you direct your browser to
http://www.rainmeter.net/forum/index.php please. It is our effort to keep the 
load of
reading and responding to posts, off the developers, so they have more time for 
coding.

Original comment by JMHarris...@gmail.com on 23 May 2009 at 5:14

GoogleCodeExporter commented 8 years ago
Yes limit data collection to an array of ip address/subnets : 

[NetInLan]
ipFilter = +(192.168.0.1/24)
// this only pays attention to data sent to this subnet

[NetInWan]
ipFilter = -(203.122.12.202, 182.442.192.10, 10.1.1.20)
// this ignores data sent from or to these ip addresses

[NetInWanFreeQuota]
ipFilter = +(203.122.12.202, 182.442.*.10, 10.1.1.20)
// this only pays attention to data sent to these ip addresses

Original comment by airtonix@gmail.com on 9 Jan 2010 at 3:58