Linux Process Management Command Cheat Sheet

Process management commands are utilized on a Linux system to oversee running processes. These commands permit users to examine details on active processes, begin or halt processes, and manage the priorities connected to those processes.

Command Description
ps This command is used to display information about processes currently running on the system.
top This command is used to display real-time usage of system resources, such as CPU and memory usage, as well as process info.
kill This command is used to terminate a process by sending a signal to it.
killall This command can be used to terminate all processes that match a specified process name.
pkill This command can be used to search for and terminate a process based on its name or other attributes.
pgrep This command can be used to search for a process by name or attribute and return its process ID.
nice This command is used to set the priority and adjust scheduling of a process.
renice This command can change the priority of a currently running process.
jobs This command displays information regarding jobs running within the current shell session.
fg This command is used to bring a background process to the foreground.
bg This command is used to send a process to run in the background.
nohup This command is used to run a process in the background even after the shell session is terminated.
screen This command is used to create a virtual terminal session that can be detached and reattached at any time.
ps aux The command displays a detailed list of all running processes in the system, including user-started processes.
systemctl This command is used to manage system services and processes.
top -H This command is used to display real-time system resource usage, including CPU usage, memory usage, and process information, with a hierarchical view of processes.
pstree This command displays the system processes in a tree-like structure.
lsof This command lists open files and processes that are using them.

 

About John Gomez

John Britto Founder & Cheif-Editor @LinuxTeck. A Computer Geek and Linux Intellectual having more than 10+ years of experience in Linux and Open Source technologies.

View all posts by John Gomez →

Leave a Reply

Your email address will not be published.

L