16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Localization<br />

Usage notes<br />

Exit Values<br />

Messages<br />

Portability<br />

kill –s KILL –– –9812753<br />

The format must include the –– before the –nn in order to specify the<br />

process group ID.<br />

If pid is 0, the signal is sent to all processes in the process group of the<br />

invoker.<br />

The process to be killed must belong to the current user, unless he or she is the<br />

superuser.<br />

kill uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

1. kill is a built-in shell command.<br />

2. z/<strong>OS</strong> <strong>UNIX</strong> signal delivery restrictions are documented in the ″Environmental<br />

Restrictions″ section of z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Programming: Assembler<br />

Callable <strong>Services</strong> Reference.<br />

0 Successful completion<br />

1 Failure due to one of the following:<br />

v The job or process did not exist<br />

v There was an error in command-line syntax<br />

2 Failure due to one of the following:<br />

v Two jobs or processes did not exist<br />

v Incorrect command-line argument<br />

v Incorrect signal<br />

>2 Tells the number of processes that could not be killed<br />

Possible error messages include:<br />

job-identifier is not a job<br />

You specified an incorrect ID.<br />

signal_name is not a valid signal<br />

You specified a noninteger signal for kill, or you specified a signal that is<br />

outside the range of valid signal numbers.<br />

P<strong>OS</strong>IX.2, X/Open Portability Guide.<br />

kill<br />

Chapter 2. Shell command descriptions 333

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!