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
10 AIX Commands to Add to Your Toolbox
Viewed 4775 times since Sat, May 19, 2018
AIX: How to determine which application created the OS core file
Viewed 2709 times since Mon, Jun 11, 2018
AIX routing - How Do I Compare ODM with the Current Routing Table?
Viewed 2958 times since Mon, Jul 29, 2019
Backing up your VIOS configuration with viosbr.
Viewed 12103 times since Mon, May 28, 2018
Getting bosboot errors, don’t reboot just yet
Viewed 3139 times since Tue, Apr 16, 2019
AIX, System Admin Configuring dsh DSH
Viewed 4379 times since Fri, Apr 19, 2019
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 2910 times since Mon, Jun 3, 2019
How to Use the Linux lsof Command
Viewed 12036 times since Sun, Jun 30, 2019
n a perfect world....rootvg would always reside on hdisk0
Viewed 2547 times since Thu, Jun 6, 2019
Useful AIX general commands
Viewed 12332 times since Wed, Apr 17, 2019