Frequently asked questions for Processes

In this section we collect all frequently asked questions about Processes. Do you have a question or one that really should be listed here? Share your feedback. Thanks for your contribution!

How to find all process IDs by its process name

Each process on Linux has its own number. Discover this number is called the process ID (PID). Learn how to find the PID for a running process by name.

How to kill a running process by its name

Linux administrators can interact in multiple ways with running processes. Learn how to find and stop a running process on Linux by searching for its name.

How to kill a zombie process

How to kill a zombie process on Linux if it no longer responds to kill -9? Learn about zombie processes, including a few last steps that you can try.

How to see cgroup in ps output

Want to see the control group in the output of the ps command? Here is how to tune your command options to include that.

How to see the cgroup of a process

Control groups allocate resources to a set of processes. Learn how to find the control group (cgroup) of a process by using /proc, pidof, or ps.

How to show a running process name and its process ID (PID)

When running a Linux system, you may need to find the process ID (PID) and process name. On Linux we can do this with the help of the pgrep command.

How to stop all processes of a single user

Learn how to stop all processes of a single user using the killall command. To make this work, use the --user option and specify the username.

What is a zombie process?

A zombie process, or defunct process, has completed execution, but has still an entry in the process table. Learn more about a zombie process on Linux.