Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


kill command (sends a signal)

Organization of this page

Format

kill  [-s {signame|signum}] {pid|-pid}...
kill  [-signame|-signum] {pid|-pid}...

Description

This command sends a signal to one or more processes. The specified signal it is sent to one or more specified processes. If no signal to be sent is specified, SIGTERM is sent. When you specify by name the signal that is to be sent, specify its name without the leading characters SIG (for example, specify INT for SIGINT). For the specification for each signal, see the documentation for the OS being used.

Arguments

-s

Specifies that a signal to be sent is being specified by its signal number or signal name.

signame|-signame

Specifies the signal name of the signal that is to be sent.

signum|-signum

Specifies the signal number of the signal that is to be sent.

pid

Specifies the process ID of a process that is to receive the signal.

-pid

Specifies the process ID of a process when the signal is to be sent to all processes that belong to the specified process's process group. In Windows, you must specify a value greater than 0 to send the signal to multiple processes.

Return codes

Return code

Meaning

0

Normal termination

1

Error termination

Notes

Usage examples