49
How do I see what processes are running and manage them?
Loading...
Q&A · Answered
How do I see what processes are running and manage them?
Accepted answer
# 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 nginxSay what you tried, not only what worked — the next person needs the reasoning. Code goes in a fenced block.