Troubleshooting
Problem
This document describes how a JVM job can be ended from within the Qshell environment on IBM i OS.
Resolving The Problem
This following example shows how to list processes to identify the JVM job and then end it:
From qshell:
Example.....
ps -u qejbsvr <enter>
As shown below, this will list all the jobs running under a user called qejbsvr. You should make note of the PID for the job you want to end.
| > ps -u qejbsvr PID DEVICE TIME FUNCTION STATUS JOBID 1446 - 00:55 pgm-qwasstrsvr jvaw 525873/qejbsvr/admin 4527 - 00:46 pgm-qwasstrsvr jvaw 621053/qejbsvr/robwas61nd 1678 - 02:53 pgm-jvmstartpa thdw 531613/qejbsvr/tjh61expj9 4611 - 01:22 pgm-qwasstrsvr jvaw 623011/qejbsvr/robwas61dm 2930 - 01:25 pgm-qwasstrsvr jvaw 547656/qejbsvr/appsrv02 3448 - 02:19 pgm-qwasstrsvr jvaw 554986/qejbsvr/jds_dmgr 3459 - 01:44 pgm-qwasstrsvr jvaw 555086/qejbsvr/nodeagent 4685 - 00:20 pgm-qwasstrsvr jvaw 624086/qejbsvr/bob 179 - 01:29 pgm-qejbstrsvr jvaw 523932/qejbsvr/server1 180 - 06:54 pgm-qasestrsvr jvaw 523933/qejbsvr/was51exp $ |
You must run the following command to end (kill) the job by specifying the process ID:
> kill -s term 4685
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Historical Number
499306508
Was this topic helpful?
Document Information
Modified date:
11 November 2019
UID
nas8N1013473