LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Meassuring network load (https://www.linuxquestions.org/questions/linux-networking-3/meassuring-network-load-172030/)

iasion 04-19-2004 08:34 AM

Meassuring network load
 
Hi everyone,

I have a question I hope someone have the answer to. I'm writing a program that is supposed to meassure the load on a wlan adapter. First, I tried with just looking at /proc/net/dev and from there extracted transfered bytes per second. However, that's not accurate considering there is a lot of other traffic to and from the adapter. Control traffic, beacon signals and so on. So basically, I'm lookin for some way to meassure how many ethernet frames has been sent and received. And the size of them. Does anyone know if that can be done in some fairly simple way? Or any other sollution to my problem. Any sollutions that is better than just look at transfered and received bytes is appreciated.

/iasion

Jon- 04-19-2004 09:31 AM

Hmm... would ethereal show those sorts of things? Haven't had much time to analyze wlan yet....

Jon

iasion 04-20-2004 01:52 AM

Ethereal shows some, but not all of the traffic. However, just to be able to extract the same information as ethereal would be great.


All times are GMT -5. The time now is 10:37 PM.