Process Commands
Linux Essentials +
Command | Description |
---|---|
ps | Displays a snapshot of current processes. |
ps aux | grep telnet | Displays running telnet processes with details. |
pmap | Shows memory map of a process. |
top | Displays dynamic real-time view of running tasks. |
kill 1234 | Terminates the process with PID 1234. |
killall proc | Kills all processes named 'proc'. |
pkill process-name | Terminates processes with the name. |
bg | Resumes suspended jobs in the background. |
fg | Brings a suspended job to foreground. |
fg n | Brings job number 'n' to foreground. |
lsof | Lists all open files and processes. |
renice 19 PID | Changes priority of process with given PID. |
pgrep firefox | Displays Process ID(s) for firefox processes. |
pstree | Displays a tree of running processes. |