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 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 5855 times since Tue, Jun 14, 2022
Kerberos, Active Directory and AIX
Viewed 7722 times since Mon, Jun 25, 2018
AIX: Remove existing disk
Viewed 3682 times since Sun, Jun 3, 2018
AIX 6.1: Extend VG 0516-1714 extendvg 0516-1254 extendvg
Viewed 5755 times since Fri, Jul 6, 2018
AIX Full memory dump configure
Viewed 4422 times since Mon, Jul 16, 2018
List of 10 Must Know Oracle Database Parameters for Database Administrator
Viewed 147646 times since Thu, Jun 21, 2018
Script to reset NIM state and deallocate resources
Viewed 3465 times since Thu, Feb 21, 2019
sysdumpdev Command
Viewed 2913 times since Mon, Jul 16, 2018
AIX Password expiry /etc/passwd
Viewed 22891 times since Wed, Jul 3, 2019
AIX perf how to
Viewed 20827 times since Tue, Aug 14, 2018