Skip to content

Q&A · Answered

How to view and manage running processes

asked 9 months, 3 weeks ago 1707 views 1 answer
49

How do I see what processes are running and manage them?

1 Answer

One accepted
26

Accepted answer

Not confirmed since it was written, 9 months, 3 weeks ago
# List all processes
ps aux

# Filter by name
ps aux | grep nginx

# Interactive process viewer
htop

# Kill process by PID
kill -9 1234

# Kill by name
pkill nginx
killall nginx

Your answer

Say what you tried, not only what worked — the next person needs the reasoning. Code goes in a fenced block.

Shown beside your answer and never checked, so it cannot be a name someone already has here.

No account needed to answer. Sign in instead and it carries your name and earns reputation.