[CentOS] network running at 10 or 100, how to tell

Wed Jan 4 14:18:28 UTC 2006
Jim Perrin <jperrin at gmail.com>

> Actually, I don't think mii-tool gives that info (at least, it didn't
> give the current speed when I tried it).  Plus, it's deprecated.
> ethtool on the otherhand does give that info.
>

mii-tool does give the info requested as seen below:

[root at insanity ~]# mii-tool
eth0: negotiated 100baseTx-FD, link ok

however ethtool gives significantly more. Apparently I'm a bit behind
the times in my networking scripts. I was unaware that mii-tool was
considered deprecated. Good to know.
--
Jim Perrin
System Architect - UIT
Ft Gordon & US Army Signal Center