Silly Question ....

Soldato
Joined
9 Dec 2004
Posts
5,696
Location
Dorset
Whats the easiest way via the command line in Linux (or whatever) to see what speed your network interface is negotiating at? e.g; 100Mbps full, or 10 half etc.

Ta.
 
In the simplest case, good ol'

Code:
dmesg
may do the trick. Look for something like this:

Code:
eth0: Media Link On 100mbps full-duplex
There's probably a more complete answer though. :)
 
Heh. I didn't think of good old dmesg! The usual suspects would be ifconfig or ifstat, but I've checked and neither do it. Dmesg it is.

Hmm... I just tried that on a server I run and dmesg just returns loads of iptables stuff. Odd. I might have something set up wrong, or it might be that iptables messages go there or something, I don't know.
 
Last edited:
dmesg is the best solution I know, I use the following command (or a variation of)

$ dmesg | grep Mbps | grep eth0
 
Makes sense, thanks. Reason I say is because ifconfig won't return anything relating to negotiation speed (at least my version of the tools?).
 
Back
Top Bottom