kill

NAME

kill - Windows command-line utility to terminate or signal the specified processes

SYNOPSIS

kill -s signalname pid...
kill -p -s signalname pattern
kill -l 
kill [-signalname] pid...
kill -p [-signalname] pattern
kill [-signalnumber] pid...
kill -p [-signalnumber] pattern

DESCRIPTION

The kill(1w) utility terminates or signals the specified processes. It terminates only the parent process; it does not affect the child processes.

To run this version of kill, on the command line, type kill.exe.

To terminate a process, you might need to have the Debug Programs (SeDebug) privilege. For information about how to grant this permission, refer to the Windows operating system documentation.

OPTIONS

The kill utility supports the following options:

-l
Writes all values of supported signal names and their corresponding signal numbers.
-s signalname
Specifies the signal to send, using one of the symbolic names. Values of signalname are recognized in a case-independent fashion.
-signalname
Equivalent to -s signalname.
-signalnumber
Specifies a non-negative decimal integer, signalnumber, to kill.
-p
Accepts process names as pattern.

SIGNALS

The kill utility supports the following signals:

9
SIGKILL
15
SIGTERM

PATTERN

The kill utility supports the wildcard characters asterisk (*) and question mark (?) in the pattern. If pattern is specified instead of process identifiers (PIDs), the -p option must also be specified.

DIAGNOSTICS

Possible exit-status values are:

0
Successful completion
1
Failure

SEE ALSO

ps(1w)

sleep(1w)

top(1w)

wait(1w)