Try OpenEdge Now
skip to main content
Administration Guide
REST API Reference for oemanager.war : Agent management : Get session metrics
 

Get session metrics

Description

Get session metrics for an agent of an ABL application.

HTTP Operation

GET

URI

//host_name:port/oemanager/applications/ABL_app_name/agents/agentID/sessions

Media type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X GET -v http://localhost:16680/oemanager/applications/pas1/agents/AG-sCIVXeFSQYmcb7RcHo10Zw/sessions

Request body example

NA

Response body example

{
"result": {
"AgentSession": [
{
"SessionId": 1,
"SessionState": "LISTENER",
"StartTime": "2014-09-22T11:07:49.744",
"EndTime": null,
"ThreadId": 2,
"ConnectiondId": null,
"SessionExternalState": 0
},
{
"SessionId": 2,
"SessionState": "RESOURCE-MANAGER",
"StartTime": "2014-09-22T11:07:49.744",
"EndTime": null,
"ThreadId": -1,
"ConnectiondId": null,
"SessionExternalState": 0
},
{
"SessionId": 3,
"SessionState": "ADMINISTRATOR",
"StartTime": "2014-09-22T11:07:49.744",
"EndTime": null,
"ThreadId": 4,
"ConnectiondId": null,
"SessionExternalState": 0
},
{
"SessionId": 4,
"SessionState": "AUXILIARY",
"StartTime": "2014-09-22T11:07:49.744",
"EndTime": null,
"ThreadId": -1,
"ConnectiondId": null,
"SessionExternalState": 0
},
{
"SessionId": 5,
"SessionState": "WORKER",
"StartTime": "2014-09-22T11:07:49.744",
"EndTime": null,
"ThreadId": -1,
"ConnectiondId": null,
"SessionExternalState": 0
}
]
},
"operation": "GET SESSIONS METRICS",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}