29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

kill - Terminate or signal processes<br />

Synopsis<br />

Description<br />

Options<br />

Operands<br />

Exit status<br />

Related information<br />

88 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />

kill [ -s signame ] job ...<br />

kill [ -n signum ] job ...<br />

kill [ -sig ] job ...<br />

kill -l [ signal ... ]<br />

You can use kill to send a signal to the specified job(s). You can specify a signal<br />

using:<br />

v signame - A signal name.<br />

v signum - A signal number.<br />

v sig - Either a signal name or signal number with no space after the minus (-).<br />

Note:The valid signal numbers on AS/400 may be different than the signal numbers<br />

on other platforms. You can list the valid signal names by specifying the -l option.<br />

For portability, you should always specify the signal name.<br />

v -l List signal names. If there are no arguments, <strong>qsh</strong> displays all of the signal<br />

names. If signal is a name, <strong>qsh</strong> displays the corresponding signal number. If<br />

signal is a number, <strong>qsh</strong> displays the corresponding signal name.<br />

v -n A signal number.<br />

v -s A signal name in either uppercase or lowercase.<br />

Each job specifies an active job. The job can be specified as a:<br />

v Number to refer to a process id.<br />

v %number to refer to a job number.<br />

v %string to refer to a job whose name begins with string.<br />

v 0 when successful.<br />

v >0 when unsuccessful. If the -l option was not specified, the exit status is the<br />

number of jobs to which <strong>qsh</strong> could not send the signal.<br />

v “jobs - Display status of jobs in current session”<br />

v “trap - Trap signals”<br />

v “wait - Wait for process completion”

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

Saved successfully!

Ooh no, something went wrong!