Operation description
Note
Before you call this operation, call the CreateMonitoringAgentProcess operation to create processes. For more information, see CreateMonitoringAgentProcess .
This topic provides an example of how to query the processes of the i-hp3hl3cx1pbahzy8****
instance. The response indicates the details of the NGINX
and HTTP
processes.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the instance. | i-hp3hl3cx1pbahzy8**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "C11C0E85-6862-4F25-8D66-D6A5E0882984",
"Success": true,
"NodeProcesses": {
"NodeProcess": [
{
"ProcessName": "Nginx",
"ProcessId": 234567,
"GroupId": "3619****",
"Command": "number",
"ProcessUser": "alice",
"InstanceId": "i-hp3hl3cx1pbahzy8****"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ParameterInvalid | Illegal parameters. | - |
403 | AccessForbidden | User not authorized to operate on the specified resource. | - |
404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history