You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to get Link Speed now that Network Utility is gone?

Now that Network Utility is gone in Big Sur, any suggested alternative ways to acquire Link Speed for Ethernet interfaces?


Mac mini 2018 or later

Posted on Dec 9, 2020 8:11 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 9, 2020 8:33 AM

robertfromadelphi wrote:

Now that Network Utility is gone in Big Sur, any suggested alternative ways to acquire Link Speed for Ethernet interfaces?


How about from Terminal.app (?)


ex. interface name is en0, copy and paste:

ifconfig  en0 | grep media



If not you can see more:

 man ifconfig | more



How about >(Option key)System Information>Hardware>Ethernet



https://support.apple.com/guide/mac-help/use-gigabit-ethernet-on-mac-mchlp2779/mac

3 replies
Question marked as Top-ranking reply

Dec 9, 2020 8:33 AM in response to robertfromadelphi

robertfromadelphi wrote:

Now that Network Utility is gone in Big Sur, any suggested alternative ways to acquire Link Speed for Ethernet interfaces?


How about from Terminal.app (?)


ex. interface name is en0, copy and paste:

ifconfig  en0 | grep media



If not you can see more:

 man ifconfig | more



How about >(Option key)System Information>Hardware>Ethernet



https://support.apple.com/guide/mac-help/use-gigabit-ethernet-on-mac-mchlp2779/mac

Dec 9, 2020 9:38 AM in response to robertfromadelphi

With the demise of the Network Utility in Big Sur, you can verify your wireless link speed (actually transmission rate) by just using the option key while clicking on the Wi-Fi icon in the menu bar. If you are not using Wi-Fi, then the link speed is the fixed Ethernet controller rating (e.g. 1 Gb/s or 1000BaseT).


The following AppleScript when copy/pasted into Script Editor will determine if your Wi-Fi is running, and if so, provide the last transmisson rate sampled. If Wi-Fi is not running, then it will report the hardware capability of your Ethernet chip (e.g. 1000BaseT).




use scripting additions

set airport to "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport"
set runstate to (do shell script airport & " -I | awk '/state:/ {$1=$1;print $2}'")
if not runstate = "" then
	set txRate to (do shell script airport & " -I | awk '/lastTxRate:/ {$1=$1;print $2}'")
	display dialog "Last wireless transmission rate (Mbps): " & txRate with title "Wireless Tx Rate"
else
	
	set linkspeed to (do shell script "ifconfig -a | sed -En 's/.*\\(([0-9]*baseT).*/\\1/p'")
	display dialog "Link speed on active interface: " & linkspeed with title "Link Speed"
end if
return


Tested on Big Sur 11.0.1 on an M1 Mac mini.

Dec 9, 2020 8:45 AM in response to leroydouglas

Those are all helpful tips, but still doesn't help me discover what the current Link Speed is.


This example image depicts wifi, but interested in the Ethernet interface.


When I run this command in terminal:

ifconfig en0 | grep media

I receive this response:

media: autoselect (1000baseT <full-duplex,flow-control,energy-efficient-ethernet>)

How to get Link Speed now that Network Utility is gone?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.