Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Canceling a background job z/OS UNIX System Services User's Guide SA23-2279-00 |
|
To cancel a background job, use the kill command. To be able to kill a process, you must own it. (The superuser, however, can kill any process except init.) Before you can cancel a background job, you need to know either a PID, job identifier, or PGID. You can use the jobs command to determine any of these. The format of the kill command in the z/OS® shell is:
The format of the kill command
in the tcsh shell is:
To kill one process, use its PID. Example: To kill a process with the PID 717, issue:
Any
other processes in the job—from a pipe—would not be killed.To kill a particular process group, you can use a job identifier
or a negative PGID.
|
Copyright IBM Corporation 1990, 2014
|