O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

killall

Synopsis

killall [options] procname...

Kills processes specified by command or pattern match. The default signal sent by killall is TERM but may be specified on the command line. killall assembles and executes a set of kill commands to accomplish its task.

Options

-c procname

Use with the -t or -u options to limit processes that sent a signal to those matching procname.

-d

Print diagnostic information only about targeted processes; doesn't send signal.

-h, -help,-?

Print usage and exit.

-l

List known signal names.

-m

Interpret the procname as a case-insensitive regular expression for selecting real process names to send a signal to.

-s

Show the kill command lines that send the signal but don't actually execute them.

-SIGNAL

Send specified signal to process. signal may be a name (see -l option) or number.

-t tty

Used to further select only those processes attached to the specified tty(procname tty), or to select all processes attached to the specified tty(i.e., no procname specified).

-u user

Used to further select only those processes owned by the specified user(procname user), or to select all processes owned by the specified user (i.e., no procname specified).

-v

Verbose output. Print the kill command lines that send the signal.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required