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
Script to reset NIM state and deallocate resources
Viewed 2583 times since Thu, Feb 21, 2019
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11801 times since Thu, Feb 21, 2019
Mirroring session (TTY) on AIX using portmir
Viewed 9602 times since Thu, Feb 21, 2019
Configure log file for cron daemon on AIX
Viewed 10891 times since Thu, Feb 21, 2019
Backing up your VIOS configuration with viosbr.
Viewed 11971 times since Mon, May 28, 2018
Part 2, Detailed diagnosis and troubleshooting
Viewed 2978 times since Tue, May 22, 2018
Install and configure GNU watch (gwatch) on AIX
Viewed 8007 times since Thu, Feb 21, 2019
Configuration of AIX Fast Connect and SMBFS
Viewed 8781 times since Mon, Jun 18, 2018
Technology level update on AIX using smit_update and alt_disk_install method
Viewed 6089 times since Sun, Jun 30, 2019
How to determine why your AIX oslevel is downlevel (and a script to help!)
Viewed 4565 times since Fri, Jul 13, 2018