How do you save a list of running processes on a Mac?
Last reviewed: 19 November 2026.
Run ps -axo pid,user,%cpu,%mem,rss,command -r > ~/Desktop/processes.txt in Terminal: it writes every running process, sorted by CPU, to a text file on the Desktop. Activity Monitor has no export command, but it can save a sample of one process or a diagnostics report for Apple Support.
How do you save the list in Terminal?
- Open Terminal. Open Terminal from Applications > Utilities.
- Save every process. Run
ps -axo pid,user,%cpu,%mem,rss,command -r > ~/Desktop/processes.txt.-rsorts by CPU; use-mto sort by memory instead. - Add a timestamp to the name. Run
ps -axo pid,user,%cpu,%mem,rss,command -r > ~/Desktop/processes-$(date +%Y%m%d-%H%M).txtto keep several snapshots. - Save top's view with totals. Run
top -l 2 -o cpu -n 50 > ~/Desktop/top.txt. The file holds two samples; the second has valid %CPU figures and the header lines with memory, swap, disk and network totals. - Copy instead of saving. Replace
> filewith| pbcopyto put the list on the clipboard, ready to paste into a message.
What can Activity Monitor save?
- A sample of one process: select it, click the More button and choose Sample Process, then click Save in the report window. This is what developers ask for when an app hangs.
- A spindump: choose View > Run Spindump for a sample of every process, useful when the whole Mac stalls.
- System Diagnostics: from the More button, a set of logs for Apple Support. Activity Monitor warns that it may include personal information such as file names.
- Print: File > Print opens the standard print dialog, which includes a PDF option.
Which columns should you include?
| ps keyword | Column |
|---|---|
pid, ppid | Process ID and parent's ID. |
user | Owner, such as your account or root. |
%cpu, time | Recent CPU use and total CPU time. |
%mem, rss | Share of RAM and resident memory in kilobytes. |
lstart | When the process started. |
command, comm | Full command line with arguments, or the program path only. |
Run ps -L to list every keyword. Note that command can include file paths and arguments; check the file before sharing it.
How can Thrum help?
Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions
Can Activity Monitor export to CSV?
No. Use ps with -o and commas: ps -axo pid=,user=,%cpu=,comm= prints no header, and the output can be converted to CSV in a spreadsheet.
Why does my saved list show 0.0 CPU for most processes?
Most processes are idle most of the time. ps shows a recent average; top's second sample shows the CPU use during that interval.
Sources
- ps(1), top(1) and pbcopy(1) man pages: run man ps, man top and man pbcopy in Terminal
- Activity Monitor User Guide: Run system diagnostics