Previous page

Next page

Locate page in Contents

Print this page

start_monitor

Summary:

Starts the process monitor.

Request specification:

Name

Min/Max

Type

Description

start_monitor

 

 

 

{

 

 

 

eid

1..1

eid_type

Server ID.

period

1..1

int

Reporting period in seconds.

key

0..1

string

Parameter to order the result set by. A list of the parameters can be retrieved from the Agent vocabulary; the category name is ps.

limit

0..1

int

Maximum number of processes to include in the report.

descending

0..1

 

If present, the list will be ordered in descending order.

}

 

 

 

Returns:

Name

Min/Max

Type

Description

ps_info

1..1

ps_infoType

Processes information.

Description:

The call starts the process monitor in the specified server. The monitor sends the collected data back to the client at the specified time intervals until the client stops the monitor or disconnects from Agent. Only one process monitor can be running for a given server.

Example:

Input

Starting a process monitor on the specified server. Setting the reporting period at 10 seconds.

<packet version="4.0.0">

<target>vzaproc_info</target>

<data>

<vzaproc_info>

<start_monitor>

<eid>9bafbeb7-85f7-499e-a210-40e00850a5f3</eid>

<period>10</period>

</start_monitor>

</vzaproc_info>

</data>

</packet>

Output

The very first message received from the monitor. It indicates that the monitor was started successfully.

<ns1:packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vza/4.0.0/vzaproc_info" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="49c45f69530t1a49rdfc" time="2007-03-11T06:33:23+0000" priority="0" version="4.0.0">

<ns1:origin>vzaproc_info</ns1:origin>

<ns1:target>vzclient6</ns1:target>

<ns1:dst>

<ns1:director>gend</ns1:director>

</ns1:dst>

<ns1:data>

<ns2:vzaproc_info>

<ns2:id>9bafbeb7-85f7-499e-a210-40e00850a5f3</ns2:id>

</ns2:vzaproc_info>

</ns1:data>

<ns1:src>

<ns1:director>gend</ns1:director>

</ns1:src>

</ns1:packet>

Output

One of the actual reports received from the monitor.

<ns1:packet xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="49c45f69530t1a49rdfc" time="2007-03-11T06:33:23+0000" priority="0" version="4.0.0">

<ns1:origin>vzaproc_info</ns1:origin>

<ns1:target>vzclient6</ns1:target>

<ns1:dst>

<ns1:director>gend</ns1:director>

</ns1:dst>

<ns1:data>

<ns1:vzaproc_info>

<ns1:ps_info xsi:type="ns2:ps_infoType">

<ns2:process>

<ns2:pid>1</ns2:pid>

<ns2:param>MC4w</ns2:param>

<ns2:param>MC4w</ns2:param>

<ns2:param>IGluaXQgWzNdICAgICAg</ns2:param>

<ns2:param>MA==</ns2:param>

<ns2:param>MjE=</ns2:param>

<ns2:param>NDky</ns2:param>

<ns2:param>U3M=</ns2:param>

<ns2:param>MDA6MDA6MDg=</ns2:param>

<ns2:param>MA==</ns2:param>

</ns2:process>

<ns2:process>

<ns2:pid>28222</ns2:pid>

<ns2:param>MC4w</ns2:param>

<ns2:param>MC4w</ns2:param>

<ns2:param>IHN5c2xvZ2QgLW0gMA==</ns2:param>

<ns2:param>MA==</ns2:param>

<ns2:param>MjE=</ns2:param>

<ns2:param>NTcy</ns2:param>

<ns2:param>U3M=</ns2:param>

<ns2:param>MDA6MDA6MDE=</ns2:param>

<ns2:param>MA==</ns2:param>

</ns2:process>

<ns2:process>

<ns2:pid>28247</ns2:pid>

<ns2:param>MC4w</ns2:param>

<ns2:param>MC4x</ns2:param>

<ns2:param>IC91c3Ivc2Jpbi9zc2hk</ns2:param>

<ns2:param>MA==</ns2:param>

<ns2:param>MTQ=</ns2:param>

<ns2:param>MTAwNA==</ns2:param>

<ns2:param>U3M=</ns2:param>

<ns2:param>MDA6MDA6MDA=</ns2:param>

<ns2:param>MA==</ns2:param>

</ns2:process>

<ns2:process>

<ns2:pid>28257</ns2:pid>

<ns2:param>MC4w</ns2:param>

<ns2:param>MC4w</ns2:param>

<ns2:param>IHhpbmV0ZCAtc3RheWFsaXZlIC1waWRmaWxlIC92YXIvcnVuL3hpbmV0ZC5waWQ=</ns2:param>

<ns2:param>MA==</ns2:param>

<ns2:param>MTQ=</ns2:param>

<ns2:param>NzUy</ns2:param>

<ns2:param>U3M=</ns2:param>

<ns2:param>MDA6MDA6MDA=</ns2:param>

<ns2:param>MA==</ns2:param>

</ns2:process>

<ns2:process>

<ns2:pid>28266</ns2:pid>

<ns2:param>MC4w</ns2:param>

<ns2:param>MC4x</ns2:param>

<ns2:param>IGNyb25k</ns2:param>

<ns2:param>MA==</ns2:param>

<ns2:param>MTY=</ns2:param>

<ns2:param>ODc2</ns2:param>

<ns2:param>U3M=</ns2:param>

<ns2:param>MDA6MDA6MDM=</ns2:param>

<ns2:param>MA==</ns2:param>

</ns2:process>

<ns2:param_id>%cpu</ns2:param_id>

<ns2:param_id>%mem</ns2:param_id>

<ns2:param_id>command</ns2:param_id>

<ns2:param_id>ni</ns2:param_id>

<ns2:param_id>pri</ns2:param_id>

<ns2:param_id>rss</ns2:param_id>

<ns2:param_id>stat</ns2:param_id>

<ns2:param_id>time</ns2:param_id>

<ns2:param_id>user</ns2:param_id>

</ns1:ps_info>

</ns1:vzaproc_info>

</ns1:data>

<ns1:src>

<ns1:director>gend</ns1:director>

</ns1:src>

</ns1:packet>

Please send us your feedback on this help page