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 (2)
Article Rating (2 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
Awesome Command to show top 15 processes using memory on AIX
Viewed 23412 times since Thu, Nov 29, 2018
AIX Health Check basic
Viewed 3828 times since Fri, Jun 8, 2018
O’Reilly’s CD bookshelf
Viewed 11400 times since Wed, Jun 27, 2018
Create bootable DVD iso image from a mksysb backup
Viewed 4033 times since Tue, Jul 17, 2018
Kerberos authentication configuration for AIX servers
Viewed 10526 times since Mon, Jun 25, 2018
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 2372 times since Fri, Apr 19, 2019
AIX Changing ’defined’ or ’missing’ hard disk states to ’Available’ in IBM Smart Analytics System for AIX environment
Viewed 8958 times since Wed, May 22, 2019
AIX Commands Related to Boot and Init Process
Viewed 4127 times since Tue, Apr 16, 2019
A Change to the SMT Mode Default in POWER9
Viewed 4862 times since Fri, Jan 18, 2019
AIX, user gets “pwd: The file access permissions do not allow the specified action.”
Viewed 10324 times since Tue, Mar 16, 2021