Linux Processes
See what runs, what eats CPU, and how to stop it cleanly.
- linux ps
- kill process
- htop
- background job
- nohup
Linux Processes
See what runs, what eats CPU, and how to stop it cleanly.
Commands
| Command | What it does | |
|---|---|---|
| `ps aux | grep app` | Find your process |
top or htop | Live CPU and memory view | |
kill PID | Polite TERM signal | |
kill -9 PID | Last-resort KILL | |
jobs and fg | Shell background jobs |
Example
ps aux | grep node | grep -v grep
kill <pid>
FAQ
kill did not stop it - why?
The process ignores TERM or is a zombie whose parent must reap it; escalate to -9 only after TERM plus logs.
How do I survive logout?
Use nohup with output redirect, or better, a systemd service or tmux session.
Întrebări frecvente
kill did not stop it - why?
The process ignores TERM or is a zombie whose parent must reap it; escalate to -9 only after TERM plus logs.
How do I survive logout?
Use nohup with output redirect, or better, a systemd service or tmux session.
Linux
Linux Files and Directories
Navigate, create, move, and inspect files with core commands.
Linux Permissions
Read ls output, chmod, chown, and sudo without breaking access.
Linux Text Processing
cat, head, cut, sort, uniq, and awk for daily data shaping.
Linux grep and find
Find files by name, age, and size; search inside them fast.