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.

kill<br />

Options<br />

7 SIGSTOP<br />

8 SIGFPE<br />

9 SIGKILL<br />

10 SIGBUS<br />

11 SIGSEGV<br />

12 SIGSYS<br />

13 SIGPIPE<br />

14 SIGALRM<br />

15 SIGTERM<br />

16 SIGUSR1<br />

17 SIGUSR2<br />

18 SIGABND<br />

19 SIGCONT<br />

20 SIGCHLD<br />

21 SIGTTIN<br />

22 SIGTTOU<br />

23 SIGIO<br />

24 SIGQUIT<br />

25 SIGTSTP<br />

26 SIGTRAP<br />

27 SIGIOERR<br />

28 SIGWINCH<br />

29 SIGXCPU<br />

30 SIGXFSZ<br />

31 SIGVTALRM<br />

32 SIGPROF<br />

38 SIGDCE<br />

39 SIGDUMP<br />

Note: The signal_numbers (3 and 6) associated with SIGQUIT and SIGABRT,<br />

respectively, differ from the values of SIGQUIT and SIGABRT used by the<br />

z/<strong>OS</strong> kernel, but they are supported for compatibility with other <strong>UNIX</strong><br />

platforms. (The kill command will send the z/<strong>OS</strong> SIGQUIT or SIGABRT to<br />

the process.) (This note is also true for kill in the tcsh shell.)<br />

job-identifier<br />

Is the job identifier reported by the shell when a process is started with &. It<br />

is one way to identify a process. It is also reported by the jobs command.<br />

When using the job identifier with the kill command, the job identifier must<br />

be prefaced with a percent (%) sign. For example, if the job identifier is 2,<br />

the kill command would be entered as follows:<br />

kill –s KILL %2<br />

pid Is the process ID that the shell reports when a process is started with &.<br />

You can also find it using the ps command. The pid argument is a number<br />

that may be specified as octal, decimal, or hex. Process IDs are reported in<br />

decimal. kill supports negative values for pid.<br />

If pid is negative but not −1, the signal is sent to all processes whose<br />

process group ID is equal to the absolute value of pid. The negative pid is<br />

specified in this way:<br />

kill –KILL –– –nn<br />

332 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference<br />

where nn is the process group ID and may have a range of 2 to 7 digits (nn<br />

to nnnnnnn).

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

Saved successfully!

Ooh no, something went wrong!