Snapshot All Processes and Search with ps aux
Dump the complete process list and filter it for a keyword in one line.
Run ps aux | grep -i "chrome" to list every process whose full ps line contains the keyword, case-insensitively.
01Command
Command
$ ps aux | grep -i "<name>"02What it does
ps aux prints one line per process — user, PID, %CPU, %MEM, and the full command — for every process on the machine, including those without a terminal. Piping that snapshot into grep filters it to whatever you are hunting for, and grep -i makes the match case-insensitive so Chrome, chrome, and CHROME all match.
03Risk
!Warning: The grep command itself appears in the output as a match; add | grep -v grep to remove it, or use pgrep for a cleaner PID-only list.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- PS(1) — macOS man pageEvidence: The BSD ps man page lists the -a, -u and -x options whose combination 'aux' shows every process on the system with CPU, memory and command columns.
- ps — process status (macOS)Evidence: The page documents the BSD flags that make up 'aux': -a (other users' processes), -u (user-oriented output with %CPU and %MEM), and -x (processes without a controlling terminal).
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Change where screenshots are saved on Mac
Point macOS screen captures at any folder you choose instead of the desktop.
Download a file from a URL on Mac with curl
Grab any file from the web straight into the current folder — no browser needed.
Find files larger than 500 MB on Mac
List the biggest files in your home folder that are eating disk space.