API Name |
entserverprocessmetric |
Description |
Provides information about all the processes of the
Enterprise Server. Connected users tag in the response will be shown
only for Call Object and Security Kernel processes as other process
types does not have this information. |
REST Methods |
GET
|
Precondition |
Server Manager and Agent must be
running. |
Input Params |
Note (Release 9.2.4.3): Add these additional
parameters if there are duplicate instance names: agentHostName,
jdeHome. |
Sample Request |
This is the sample request if you have multiple
instance names:
: https://jdesmc.example.com:24500/ manage/mgmtrestservice/entserverprocessmetric?
agentHostName=jdeent.example.com&jdeHome=/slot/appmgr/jde_agent_ent/SCFHA&instanceName=tqa_923_lnx_ent_ jdeent_4000
|
Return |
HTTP status 200 is returned. |
Sample Response |
{ "instanceName":"rspybl0905", "entServerProcessMetricDetail":[{ "generalInformation":{ "processName":"SECURITY KERNEL", "processType":"Kernel Process", "rangeIndex":"3", "processId": "22892","processIndex":"6", "startTime":"6/4/17 3:30 AM", "lastMessageTime":"6/6/17 10:31 AM", "messagesReceived":"51163", "outstandingRequests":"0", "parentProcessId":"2176", "iSeriesJobNumber":"0", "processUserId":"1001",
"osGroupId":"1002", "osUsername":"jde920", "osStatus":"1",
"memory":"182", "cpu":"0", "threads":"1", "jdeCaches":"0",
"totalOpenJDBTransactions":"3", "manualOpenJDBTransactions":"0",
"dataPointers":"0", "tablesOrViews":"7", "jdbTableCaches":"0", "databaseConnections":"1" }, "connectedUsers": [ { "userName": "JDE", "originatingMachine": "rajespybl0905", "signOnTime":
"6/ 6/2017 10:29:46","originatingProcessId":"12205", "originatingProcessName": "CALL OBJECT KERNEL" } ], "threadDetail":
{ "threadId":"-175184128", "threadIndex":"6", "threadName":"MAIN_THREAD" } },
|
Sample Response |
{ "generalInformation":{ "processName":"CALL OBJECT KERNEL", "processType":"Kernel Process", "rangeIndex":"5", "processId": "12205","processIndex":"17", "startTime":"6/6/17 5:49 AM", "lastMessageTime":"6/6/17 10:31 AM", "messagesReceived":"4386", "outstandingRequests":"0", "parentProcessId":"2059", "iSeriesJobNumber":"0", "processUserId":"1001",
"osGroupId":"1002", "osUsername":"jde920", "osStatus":"1",
"memory":"305", "cpu":"0", "threads":"7", "jdeCaches":"0",
"totalOpenJDBTransactions":"24", "manualOpenJDBTransactions":
"0", "dataPointers":"0", "tablesOrViews":"0", "jdbTableCaches":
"7", "databaseConnections":"5" }, "connectedUsers":
[ { "userName":"JDE", "operatingMachine":"jdeMachine.example.com", "environment":"JPY920", "signOnTime":"6/ 6/2017 10:29:46", "lastActiveTime":"6/ 6/2017 10:30:00", "jdeCaches":"0", "totalOpenJdbTransaction":"24", "manualOpenJdbTransaction":"0", "dataPointers":"0" } ],
"threadDetail":{ "threadId":"-378537152", "threadIndex":"17", "threadName":"SYS:Response Msg Listener" } } ]}
|
Exception |
Throws an exception if the operation fails for any
reason. |