Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a command to display the theoritical eth bandwith ?

Status
Not open for further replies.

strus

Programmer
Nov 24, 2004
51
FR
Hi,
Just a question on ethernet performance.
Is there a way to get the selected value by the Auto-negociation ethernet adapter ?
Is it available for Virtual Ethernet too ? because it seems we do not have the same information between real eth and virtual et ?
Thnaks.
 
netstat -v <adaptername> -> you get Media speed available and media speed selected
For virtual ethernet I can't help you , never used that

Regards,

R.
 
OK, thanks for the tools ... to compile it for Aix just delete the -lsocket flag option and use cc instead of icc.

Ok, netstat -v works only for non virtual ethernet adapter.
Thanks.
 
As per RMGBELGIUM ,can use the below string to get both selected and real speeds (negotiated with a switch):

netstat -v ent0|grep "Media Speed"

Media Speed Selected: 100 Mbps Full Duplex
Media Speed Running: Unknown

Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top