From Mac Guides

Jump to: navigation, search

killall is a Terminal command used to kill processes by name. It sends a signal that tells the process to terminate.


The following example kills the application iTunes.

 killall iTunes

Most signals can be intercepted and ignored. To force-kill a process one has to send the KILL signal:

 killall -KILL someprocess

To kill a process that runs under a different user:

 sudo killall -KILL someprocess

Man Page Excerpt

Killall kills processes selected by name, as opposed to the selection by pid as done by kill(1). By default, it will send a TERM signal to all processes with a real UID identical to the caller of killall that match the name procname. The super-user is allowed to kill any process.