You can call this operation to enable monitoring on a process.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description 
Action String Yes CreateMonitorAgentProcess

The operation that you want to perform. Set the value to CreateMonitorAgentProcess.

InstanceId String Yes i-123****

The ID of the instance.

ProcessName String Yes java

The name of the process.

ProcessUser String No admin

The user who started the process.

Response parameters

Parameter Type Example Description 
Code String 200

The status code. A value of 200 indicates that the call is successful.

Id Long 123456

The ID of the process.

Message String Successfully

The error message.

RequestId String 971CC023-5A96-452A-BB7C-2483F948BCFD

The request ID for troubleshooting.

Success Boolean true

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.


Sample requests

http(s)://[Endpoint]/? Action=CreateMonitorAgentProcess
&<Common request parameters>

Successful response examples

XML format


JSON format


Error code

View error codes