Skip to content
86% off$349 $48.86code BF2026

Guides

Command-line Activity Monitor alternative: top's power column

Plain top and htop don't show Activity Monitor's Energy tab. Run top with the power column to list processes by energy, plus btop crash notes and options.

TroubleshootingUpdated 5 min read

On this page

People looking for a command-line alternative to Activity Monitor tend to say the same thing: "I know there's top and htop, but they lack a lot of information. There is no way to list processes from the Energy tab." The default top view shows CPU and memory only. The energy column exists, but you have to ask for it.

Why it happens

  • The default top view omits the power column. On macOS, top lets you pick columns with -stats and the sort key with -o. Power is one of the available columns, but the default layout doesn't include it, so it looks as if the data is missing.
  • htop is a different tool. It is a free, open-source, text-mode process viewer (GPL-2.0-or-later, as of November 2026) that also runs on Linux and other systems. We haven't checked its current column list on macOS, so we can't say whether it can show a power-style column.
  • Activity Monitor's Energy pane is its own measure. Per Apple's Activity Monitor guide, Energy Impact is a relative measure of current energy consumption, where lower is better. The power figure in top is top's own number. We haven't compared the two, so don't assume they rank processes identically.
  • btop's crash comes from btop's own code. The exception is raised inside btop, not by macOS or top. Users report freezes and crashes on macOS, including when opening the F2 setup screen. That is unrelated to the missing column.

Step-by-step fixes

1. Show the power column in top

  1. Open Terminal (in Applications > Utilities).
  2. Paste this command and press Return:
bash
top -stats pid,command,cpu,idlew,power -o power -d
  1. Read the POWER column. The busiest processes are at the top.
  2. Press q to quit.

The command only reads data, so there is nothing to undo.

PartWhat it does
-stats pid,command,cpu,idlew,powerShows only these columns: process ID, name, CPU, idle wake-ups, power
-o powerSorts by the power column
-dDelta mode: events show as changes since the last update, not running totals

2. Take a one-off snapshot

Logging mode prints a fixed number of samples and exits, which suits pasting into a ticket or a script:

bash
top -l 2 -n 15 -o power -stats pid,command,cpu,idlew,power

-l 2 takes two samples and -n 15 limits each to 15 processes. Read the second block. The first sample has no earlier reading to compare against, so its CPU figures say little about what is busy right now. To save the output, add > energy.txt at the end of the command.

3. If you only need to look, use Activity Monitor

Activity Monitor is built into macOS and free. Open it and click Energy; Apple's guide describes this pane as showing energy use per app and process. If you don't need a script or a terminal, that is enough.

4. If btop crashes or freezes

The message people report is:

text
ERROR: Exception in runner thread -> Cpu:: -> graphs, clock, meter : unordered_map::at

We haven't verified a fix, so we won't suggest one. What you can do:

  1. Update btop with whatever you installed it with, then try again. An update may or may not fix it.
  2. Check btop's issue tracker on GitHub for newer comments on the unordered_map::at error.
  3. Use the top command from fix 1 in the meantime.

Checklist before you try again

  • You typed the top command on one line, with no stray spaces after the commas.
  • You are reading the second sample if you used -l 2.
  • man top lists power and idlew as -stats keys on your macOS version.
  • You expect top's power number to differ from Activity Monitor's Energy Impact.

What Procowl covers here, and what it doesn't

We make Procowl, a native Mac process monitor (macOS 14 Sonoma or later), so weigh this section accordingly. It covers part of the problem.

In the app: the Processes list includes an Energy (est.) column in its default column set. Click the column header to sort by it. The value is Procowl's estimate: CPU % plus a charge per idle wake-up and per interrupt wake-up. It is not Apple's Energy Impact. The Battery tile detail also has a "Most energy (est.)" list of apps. To get the list out of the app, sort by Energy, then choose File > Export as CSV… (⇧⌘E). The file has an "Energy Impact (est.)" column.

On the command line: the procowl tool has no energy sort. Its top command ranks by CPU, memory or disk:

bash
procowl top cpu 10
procowl top memory 10 --json
procowl top disk 5 --processes

N runs from 1 to 100, and helper processes are grouped under their app unless you add --processes. Other commands include status, inspect <pid|name>, history --at <time> and check, which exits 0 when calm, 1 for attention and 2 for trouble. Install the tool from Settings > General > Command-Line Tool > Install…. Details are in the command-line docs. Procowl is part of MacSuite, with a 7-day free trial; see the Procowl page.

If nothing works

Contact the right party for the tool that fails:

  • btop: open or follow an issue on its GitHub tracker.
  • top or macOS behaving oddly: Apple Support.
  • Procowl: our support page.

Include the exact error text, your macOS version, your Mac's chip, the tool's version and the command you ran. For btop, this message works:

text
btop crashes on macOS with this error:
ERROR: Exception in runner thread -> Cpu:: -> graphs, clock, meter : unordered_map::at
macOS version: [your version]
Mac chip: [your chip]
btop version and install method: [for example, Homebrew]
Already tried: updating btop, restarting Terminal

Common questions

Does top on macOS show the same number as Activity Monitor's Energy Impact?

We haven't verified that. Treat top's power column as its own figure and compare processes within the same tool.

Is there an htop flag for energy?

We couldn't confirm one. For an energy-sorted list on a Mac, top with -stats and -o power is the route we can stand behind.

Can I run the top command from a script?

Yes. Use logging mode (-l 2 -n 15) so it prints and exits, then read the second sample. For a health check with exit codes, Procowl's check command is an option, though it doesn't rank by energy.

Does Procowl's Energy (est.) match Apple's?

No. It is Procowl's estimate built from CPU % and wake-ups, and its tooltip says it is not Apple's Energy Impact.

Every app.
One purchase.