-- Leo's gemini proxy

-- Connecting to perso.pw:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;

How to kill processes by their name


Author: Solène

Date: 25 August 2016

Tags: unix


NILIf you want to kill a process by its name instead of its PID number,

which is easier if you have to kill processes from the same binary,

here are the commands depending of your operating system:



**FreeBSD / Linux**


$ killall pid_name



**OpenBSD**


$ pkill pid_name



**Solaris**


Be careful with Solaris killall. With no argument, the command will

send a signal to every active process, which is not something you

want.


$ killall pid_name

-- Response ended

-- Page fetched on Thu Apr 25 03:47:32 2024