In the Windows I can use the pathping command to tail after the network path, but I can not find this command on macOS.

Is it has another name, such as ipconfig to ifconfig?

In macOS Terminal, you can use traceroute for similar functionality.

There's also a nice GUI tool called Network Utility that you can use to trace a path of your network traffic (in this example I've traced

enter image description here

In OS X Mavericks (10.9) and later, Network Utility is in /System/Library/CoreServices/Applications.

In OS X Mountain Lion (10.8), Lion (10.7), and Snow Leopard (10.6), Network Utility is in the Utilities folder of your Applications folder.

  • 1
    Just a heads up for the OP, tracert does not measure packet loss over time like pathping does. – mxmissile Oct 11 at 17:49

The comparable command, mtr, can be installed with a package manager, such as Homebrew. After installing Homebrew, one can install the software as follows.

brew install mtr

If desired, one might also make an alias for pathping. For example, in BASH...

alias pathping='sudo /usr/local/sbin/mtr'

The familiar result is illustrated below.


You can also use the Terminal too.

traceroute <ip address>

Also you could do a ping too.

ping <ip address> 

Network Utility is nice in that it wraps all the utilities in one tool.

I'd guess that you could write a shell script which wraps both together which it sounds like pingpath does.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.