AIX - How to get network speed and statistic of ethernet adapter in AIX

AIX - How to get network speed and statistic of ethernet adapter in AIX

 
Question : How to get network speed of ethernet adapter in AIX.
Answer : netstat command with option "v" can be used to get network speed of ethernet adapter in AIX. Look for media speed value in respective ethernet. A quick way to look for media speed would be using grep command.
Example :
root@server # netstat -v |egrep 'ETHER|Speed'
ETHERNET STATISTICS (ent0) :
Media Speed Selected: Auto negotiation
Media Speed Running: 1000 Mbps Full Duplex
ETHERNET STATISTICS (ent2) :
Switch ID: ETHERNET00
ETHERNET STATISTICS (ent1) :
Media Speed Selected: Auto negotiation
Media Speed Running: 1000 Mbps Full Duplex


Question : How to get network statistic of ethernet adapter in AIX.
Answer : "entstat -d <interface>" command can be used to display statistic of specific ethernet adapter in AIX. Alternative, "netstat -v" command can be used to display statistic of all ethernet adapter in AIX.
Example :
root@server # netstat -v <--- To display network statistic of all enthernet adapter
root@server # entstat -d en0 <--- To display network statistic of en0
5 (3)
Article Rating (3 Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
AIX - How to get Memory infomation
Viewed 10818 times since Fri, Jun 8, 2018
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 4484 times since Wed, Jun 27, 2018
Script to reset NIM state and deallocate resources
Viewed 2468 times since Thu, Feb 21, 2019
http://ibmsystemsmag.com/aix/administrator/backuprecovery/remote-sync/
Viewed 5451 times since Wed, May 30, 2018
Convert to Scalable Volume Groups
Viewed 4019 times since Wed, May 30, 2018
AIX Increase paging space logical volume size
Viewed 3020 times since Tue, Jul 17, 2018
Using AIX VG mirroring in combination with hardware snapshots
Viewed 5143 times since Sat, May 25, 2019
Useful AIX general commands
Viewed 11962 times since Wed, Apr 17, 2019
AIX ODM for MPIO User Guide 09
Viewed 4045 times since Mon, Dec 31, 2018
Recovery from LED 552, 554, or 556 in AIX
Viewed 2689 times since Tue, Apr 16, 2019