Menutr: my favorite network condition diagnostic tool, now in your menu bar

· davepedu.com ·

4 min read Original article ↗

My traceroute - aka mtr and originally “Matt’s Traceroute” - is a great little program that can provide at-a-glance information about the quality of your network connection. I’ve long worked with computers and it’s often important to know if performance or connection problems are on my end or elsewhere. Reacting to lag spikes in video games is another use case. In either, mtr gives a brief summary.

From BitWizard’s Website:

mtr combines the functionality of the ’traceroute’ and ‘ping’ programs in a single network diagnostic tool.

As mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. After it determines the address of each network hop between the machines, it sends a sequence of ICMP ECHO requests to each one to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.

mtr running in a terminal in display mode 2, showing ten hops with each ping drawn as a colored character, and a latency scale along the bottom

The above screenshot shows mtr --displaymode 2 tracing between my machine and 75.75.75.75, which is Comcast’s public DNS server. The colored grid expresses network quality as follows:

  • X axis is time
  • Y axis is network hops between me and the target
  • the color/character in each cell is the latency between me and the hop

In this particular example, you can see a period towards the right of the chart where latency spikes from ~10-20ms up to ~30-60ms. My traceroute shows lag spikes like this, clearly, in real time. I often run it in a terminal on a secondary display, and leave it on in the background when I’m gaming or working. When weird stuff happens online - I can just glance over and see if it’s my connection. I trace various public DNS servers such as Comcast’s or Google’s in my examples, but tracing a specific target is just as informative.

I had a cross-country flight’s worth of time to kill, so I decided to turn an idea I’d had into reality: a version of mtr that appears in the macOS menu bar. But mtr lives in a terminal, and a terminal window eats up valuable screen space. I wanted the same picture all the time, in a corner of the screen, so I built - well, had Claude & Deepseek build - Menutr:

The Menutr icon in the macOS menu bar, a small grid of green, yellow and red cells
Menutr in the menu bar

This screenshot shows a similar latency spike to the mtr original above. Easy, at-a-glance network monitoring.

What it does⌗

The icon is a small grid. Just like mtr, each row is a hop, from your Mac at the top to the target at the bottom. Each column is one probe, newest on the right. Green is fast, red is slow, gray means no reply. Click it and you get a bigger version with the hop names, a legend, and a time scale such as 100 samples, 1m40s. Click a hop’s name and it copies the hostname or IP, which is handy when you’re pasting it into a support ticket.

The Menutr menu open, showing ten hops with a latency heatmap for each, a color scale legend, and Preferences and Quit items
The expanded view

Here, you can see latency jumping from ~12ms to ~50ms for a short but easily visually identifiable period, in orange/red to the right.

Deliberately small⌗

Besides remembering your trace target and preferred color scheme, the app is stateless.

I’m not going to bother engaging with Apple to get a copy of this signed and notarized or published on the App Store. If you want to run it, you’ll have to build it yourself. Sorry!

It’s also macOS only, IPv4 only, and ICMP only. There’s one setting that matters, the target host (default 8.8.8.8), and a choice of color scheme: “menutr”, or the exact palette mtr uses.

Yes, it’s vibe-coded⌗

This program is written entirely in Swift and I’ve never written a single line of Swift before this! For a life-long programmer and system administrator like me, AI-assisted coding tools are a force multiplier.

I think “vibe coding” often gets a bad rap. There are absolutely folks out there churning out low-quality and vulnerable programs because neither they nor the AIs know any better. But it doesn’t have to be like that. A skilled programmer knows how to measure how correct or performant a program is, can thus use these tools to forge a quality product - and spend much less time and effort compared to doing it by hand.

…and yes, I still read the code!

Try it⌗

You need Xcode 16 or later. Then:

make app
open Menutr.app

Source code is available on my Git instance:

https://git.davepedu.com/dave/menutr

Do you use My traceroute? Or Menutr? Let me know directly!