SUMMARY:Ethernet- what is the current setting for duplex / speed?

From: <Brian_Carmody_at_elementk.com>
Date: Thu Feb 07 2002 - 18:06:06 EST
Thanks to Michael, Steve, Jay, Graham, Marion, Don, Sean, Brett and
everyone else who responded with an answer.

To summarize: How to tell what ethernet seetings you have:

1. THE NDD WAY: "ndd /dev/hme \?" will give a list of variables, and ndd
/dev/hme variable-name will return the value. if link_speed = 1, you are
running 100Mb/s, if      link_speed=0, you are running 10mb/s. Likewise,
link_mode=1 means full duplex, link_mode=0 means half duplex.

2. THE DMESG WAY: dmesg | grep hme  will give Human readable output as to
link speed and mode.

3. THE SNEAKY WAY: netstat -k hme0 The undocumented netstat -k gives a
wealth of info similar to 'server_netstat mover_name -i' on an EMC Celerra.
This is my new      favorite command.

Also, I have many shell scripts which were passed on to me to automate and
parse the above commands. Email if you'd like more info.


Thanks Again,

Viva sunmanagers!

/Brian



Brian Carmody
Unix Systems Administrator
Ph: 585-240-7372
Fax:585-285-5894
ELEMENT K
'the knowledge catalyst'
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 7 17:04:18 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST