Command reference
ed network
ed network is the command-line surface for the Network page under Utilities. It shows what the network on this Mac is doing: live speed, the apps using the connection, daily totals, a speed test, local addresses and Wi-Fi details, and the public address when you ask for it.
| Command | What it does |
|---|---|
ed network status |
Shows the live download and upload speed and today's traffic. |
ed network apps |
Lists the apps using the network, busiest first. |
ed network speedtest |
Measures the connection with Apple's networkQuality tool. |
ed network interfaces |
Lists local addresses per interface and Wi-Fi details. |
ed network ip |
Asks one named endpoint for the public address. |
ed network totals |
Shows the traffic counted per day. |
ed network reset |
Clears the saved traffic totals. |
Network needs no permission. Everything it counts stays on this Mac. The only requests it sends are the speed test, which networkQuality runs against Apple's servers, and the public address lookup, which goes to api64.ipify.org, and both happen only when you ask.
Worker operations
The same data is available as JSON through the running worker:
ed invoke network network.status --json '{}'ed invoke network network.apps --json '{"limit":10}'ed invoke network network.speedtest --timeout 150 --json '{}'ed invoke network network.speedtest.cancel --json '{}'ed invoke network network.interfaces --json '{}'ed invoke network network.publicip --json '{}'ed invoke network network.totals --json '{}'ed invoke network network.totals.reset --json '{"confirm":true}'network.status, network.apps, network.speedtest, network.interfaces, network.publicip and network.totals return the same JSON as the matching --json commands. network.speedtest.cancel returns cancelled. network.totals.reset refuses to clear anything unless the payload has "confirm": true. Errors arrive on stderr as JSON with a readable message.