Skip to Knowledge Base content

How To: Trace Route (MAC OS X)

Mac OS X has a command-line utility for performing a trace route called "traceroute". A trace route is a network map of connection points to get from one location, usually your device to another location (e.g. www.unh.edu ). The trace route measures the turn-by-turn steps (or hops) and associated time to complete the trace.

To perform a trace route on a Mac OS X computer, you must open a Terminal window. Terminal can be found by opening the Finder, selection Applications and Utilities. To open a terminal session, double-click on "Terminal.app".

Inside the Terminal application, the traceroute command is "traceroute" and the specified target (i.e. www.unh.edu ). The command will output the results of the traceroute to the screen.

To copy this result simple highlight and copy (Command (?) C). You may also export the results of the trace route directly to a file on your computer. The example below outputs the trace route results to the file "traceroute_results.txt" on the user's Desktop.

The resulting file will include the same trace route information that is displayed on the screen in the previous step.

 

Details

Article ID: 774
Created
Fri 7/19/19 5:36 PM
Modified
Wed 8/14/19 4:41 PM