Le mardi 13 octobre 2015 14:02:45 UTC+2, Tobias Klauser a écrit :
>
> ifpps reports the NIC the cummulative stats since start of the system 
> (i.e. the info from /proc/net/dev), so you'll probably also be seeing 
> the stats from your previous attempts unless you reboot in between the 
> trials (or for some NIC drivers reloading the driver module might have 
> the same effect). 
>
> Cheers 
> Tobias 
>

Hello Tobias,

In my example I used the second columns of the csv output which corresponds 
to "rx-bytes-per-t".

As far as I understand (I didn't check the source) it will be calculate 
like:
rx-bytes-per-t = n - n-1

where n is the value retrieved from /proc/net/dev and n-1 the previous 
value retrieved (in my case t=1000 ms).


So I don't understand why I need to reboot or reload the module for this 
statistic (I get it if I was checking rx-bytes instead of rx-bytes-per-t 
but I'm not).

Thanks!

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to