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
LVM: Unmirror/Mirror "rootvg" Volume Group
Viewed 4558 times since Mon, May 21, 2018
sysdumpdev Command
Viewed 2706 times since Mon, Jul 16, 2018
10 AIX Commands to Add to Your Toolbox
Viewed 6279 times since Sat, May 19, 2018
AIX boot proccess
Viewed 4224 times since Tue, Apr 16, 2019
How To Mirror VG and Root VG
Viewed 4532 times since Mon, May 21, 2018
Reconfigure RSCT ID to fix DLPAR issues on cloned AIX systems
Viewed 17210 times since Thu, Feb 21, 2019
SSH-COPY-ID on AIX. SSH remote AIX’s box without password
Viewed 19297 times since Thu, Feb 21, 2019
Working with Virtual media library on VIO servers
Viewed 18170 times since Thu, Feb 21, 2019
Configuring an AIX client with multiple Kerberos realms
Viewed 10731 times since Mon, Jun 25, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 5603 times since Tue, Jun 14, 2022