Is there an easy way for non-privileged users to determine an interface's speed?

2008-01-15 Thread Mark Seger
I think the current answer is they can't but I also wanted to confirm it with this list. I had hoped I might be able to find it in /proc, /sys or with a utility like ethtool or even ifconfig, but alas it's nowhere to be seen. So if I'm correct, that leads to the second question of why not? W

Re: Why are network counters only updated once a second?

2008-01-14 Thread Mark Seger
Eric Dumazet wrote: Mark Seger a écrit : I had mentioned this in my previous post but perhaps it might get more attention all by itself. I can't say for sure when this changed, but for the longest time network counters were only updated once every 0.9765 seconds and unless you used a

Why are network counters only updated once a second?

2008-01-14 Thread Mark Seger
I had mentioned this in my previous post but perhaps it might get more attention all by itself. I can't say for sure when this changed, but for the longest time network counters were only updated once every 0.9765 seconds and unless you used a tools like collectl that could monitor at fraction

Re: occasionally corrupted network stats in /proc/net/dev

2008-01-14 Thread Mark Seger
outstanding! I'm just happy to hear it's not a bug in my monitoring code... 8-) -mark Michael Chan wrote: On Mon, 2008-01-14 at 20:12 +0100, Eric Dumazet wrote: Mark Seger a écrit : Ignore that last one as it was pointed out to me that we have both nic installed on m

Re: occasionally corrupted network stats in /proc/net/dev

2008-01-14 Thread Mark Seger
BCM5706/5708 Driver -mark Mark Seger wrote: I'll try to get data on the other systems reporting it and as I said it does not happen all that often AND you have to be looking for it. The system I've personally seen it happen on several times is running RHEL4/U4 which redhat numbers 2.

Re: occasionally corrupted network stats in /proc/net/dev

2008-01-14 Thread Mark Seger
: version:7.0.33-k2-NAPI 51E97FEE51D0772AFC89130 description:Intel(R) PRO/1000 Network Driver -mark Ben Greear wrote: Mark Seger wrote: I had posted the following on linux-net and haven't see any responses possibly because nobody had any or that list is obsolete. I have been told this is t

occasionally corrupted network stats in /proc/net/dev

2008-01-14 Thread Mark Seger
I had posted the following on linux-net and haven't see any responses possibly because nobody had any or that list is obsolete. I have been told this is the current list for everything networking on linux so I thought I'd try again... I suspect the answer will be that it is what it is, but he

Re: update frequency for stats in /proc/net/dev

2007-12-18 Thread Mark Seger
Thomas Graf wrote: * Mark Seger <[EMAIL PROTECTED]> 2007-12-18 08:37 Anyhow, I just wanted to let people know that ALL tools that monitor once a second on older counters will get the wrong numbers and tools that correct for the wrong number by using fractional intervals (and I s

update frequency for stats in /proc/net/dev

2007-12-18 Thread Mark Seger
A number of years ago I had written a comprehensive system monitoring tool called collectl, which among other things allowed me to monitor network traffic in real-time display as well as log the data to a file. Furthermore, that file can be generated in a format suitable for plotting with gnup