Levo guides · Memory, CPU and GPU

How to see and stop processes on a Mac

Open Activity Monitor, select the process, and click the stop button (the octagon with an X). Choose Quit to ask it politely, Force Quit if it does not respond. In Terminal, kill PID does the same. Never stop system processes such as WindowServer, kernel_task, launchd, Finder or Dock.

Levo's Processes list with a Quit button on each row and the agent's reason for it
ToolCommand or actionEffect
Activity MonitorStop button › QuitAsks the app to quit and save
Activity MonitorStop button › Force QuitEnds it now; unsaved work is lost
Terminalkill PIDPolite stop signal (SIGTERM)
Terminalkill -9 PIDHard stop; cannot be ignored
Terminalpkill -x NameStops processes by exact name

See what is running

  1. Open Activity Monitor. Use View › All Processes to include background and system ones.
  2. Search by name at the top right, or sort by CPU, Memory or Energy.
  3. Double-click a process to see its path, its parent and when it started. The path tells you whether it belongs to an app you know.
ps -Ao pid,ppid,etime,comm | head -n 20
lsof -i :3000

The first lists processes with their parent and how long they have run. The second shows what is listening on port 3000, useful for a dev server you cannot find.

Stop one

  1. In Activity Monitor, select the process and click the stop button. Try Quit first; use Force Quit if it does not go within a few seconds.
  2. In Terminal, find the PID, then ask politely:
kill 4321

If it ignores that, escalate:

kill -9 4321
pkill -x "Google Chrome Helper"

Stopping a process started by launchd, such as a background agent or daemon, usually makes macOS start it again. To stop it for good, remove its login item or disable the agent in System Settings › General › Login Items & Extensions.

Which processes never to stop

If you do not recognise a name, search it before you stop it. Most unfamiliar processes belong to macOS and are harmless at their usual size.

Find the one you want

Dev servers and background tools are hard to find by name, so find them by port, age or size:

lsof -i :3000
lsof -i -P | grep LISTEN
ps -Ao pid,etime,comm | grep -i node
top -o mem -l 2 -n 8 | tail -n 12

lsof -i :3000 prints the process holding port 3000, with its PID in the second column. etime is how long a process has been running, so an old Node or Java process with no window is probably a leftover from finished work.

Safer ways to stop things

If you are unsure whether something is safe to stop, wait. Most idle processes cost little, and the real wins are the large, old and unused ones.

How Levo does it

Levo's Processes list does the finding for you. It shows the busiest processes by memory, CPU and GPU, each with a plain note about what it is and your own AI agent's verdict, such as "Gradle daemon idle 3 h", and a Quit button. Apps are asked to quit politely first. Other processes of yours get a polite stop signal, then a hard one after a timeout.

Levo never quits system processes such as WindowServer, kernel_task, Finder or Dock, other users' processes, itself, or anything you told it to keep (⌘D on a process). If one will not quit, ⌥⌘Q force quits it after asking, and ⌘K has Quit and Force Quit by typing. See the help article.

FAQ

How do I see all running processes on a Mac?

In Activity Monitor choose View, then All Processes. In Terminal, run ps -Ao pid,comm to list them.

What is the difference between Quit and Force Quit?

Quit asks the process to close and save its work. Force Quit ends it at once, so unsaved changes are lost. Try Quit first.

Why does a process come back after I stop it?

It is managed by launchd or a login item, which restarts it. Disable it in Login Items and Extensions, or quit the app that owns it.

Is it safe to kill a process I do not recognise?

Search its name first. Many are macOS services. Stopping the wrong one can log you out or break a feature until restart, so leave system processes alone.

How do I stop a process using a port on a Mac?

Run lsof -i :PORT to find the PID, then kill that PID. Replace PORT with the number, such as 3000.

Is kill -9 safe?

It always works, but the process cannot save or clean up. Use plain kill first and keep kill -9 for processes that ignore it.