Process Commands

Linux Essentials +

Command Description
psDisplays a snapshot of current processes.
ps aux | grep telnetDisplays running telnet processes with details.
pmapShows memory map of a process.
topDisplays dynamic real-time view of running tasks.
kill 1234Terminates the process with PID 1234.
killall procKills all processes named 'proc'.
pkill process-nameTerminates processes with the name.
bgResumes suspended jobs in the background.
fgBrings a suspended job to foreground.
fg nBrings job number 'n' to foreground.
lsofLists all open files and processes.
renice 19 PIDChanges priority of process with given PID.
pgrep firefoxDisplays Process ID(s) for firefox processes.
pstreeDisplays a tree of running processes.