Processes

A Linux systems without processes is not possible. So we collect tips to deal with processes and improve your skills.

Kill a process that won't respond to CTRL+C

Got a process that won't respond to CTRL+C? With this tip you can kill almost all processes without having to open a second terminal.

Linux process signals and their meaning

Want to know the difference between SIGHUP, SIGKILL, and SIGTERM? Learn about Linux process signals, including a list and description.

Frequently Asked Questions

How to see the cgroup of a process?

cat /proc/PID/cgroup

» Full answer and more examples


How to see cgroup in ps output?

ps -e -o pid,cgroup:64,args

» Full answer and more examples


How to stop all processes of a single user?

killall --user USER

» Full answer and more examples


What is a zombie process?

A zombie process, or defunct process, has completed execution, but has still an entry in the process table. The process is considered to be terminated, but lacks the proper house keeping to reflect this state.

» Full answer and more examples


How to kill a zombie process?

Send the SIGCHLD to the parent process, stop the parent process, or reboot the system

» Full answer and more examples


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

pgrep -l PROCESSNAME

» Full answer and more examples


How to find the process ID (PID) by its process name?

pidof PROCESSNAME

» Full answer and more examples


How to kill a running process by its name?

pkill --interactive PROCESSNAME

» Full answer and more examples


See all frequently asked questions for Processes