Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

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

-d

Prints diagnostic info only about targeted processes; does not send signal.

-l

Lists known signal names.

-m

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

-s

Shows the kill command lines that would be used to send the signal but do not actually execute them.

- signal

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

-t tty

May be 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

May be 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).

-c procname

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

-v

Verbose output. Print the kill command lines that are used to send the signal.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata