check network speed

How do I check my network connection speed in Solaris 10? In Windows, I would right-click the connection, choose status, and it would tell me 10Mbps or 100Mbps, etc. How do I check this in Solaris 10?
[207 byte] By [lukeprog] at [2007-11-26 9:04:59]
# 1

Perhaps you can begin with a review of the man pages for ifconfig and for ndd.

If I recall correctly, an interface will default to its fastest designed link speed and mode,

which in this century would be an auto-negotiated 100Mbit,

or an auto-negotiated Gigabit, per the chipset and the drivers in your OS of choice.

Only a manual intervention would muck that up to something slower.

rukbat at 2007-7-6 23:16:20 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

> Perhaps you can begin with a review of the man pages

> for ifconfig and for ndd.

I don't see information in either man page that would help someone find the right thing to type for speed of a network device.

If you just need to check and not set, then 'kstat' is often the easiest way.

# kstat -n eri0 | grep speed

ifspeed 100000000

(Speed is in bits per second).

--

Darren

Darren_Dunham at 2007-7-6 23:16:21 > top of Java-index,Solaris Operating System,Solaris 10 Features...