Please enable JavaScript to view this site.

Memory Validator Help

Navigation: Examples > Example NT Service

Monitoring the service

Scroll Prev Top Next More

 

Once the example service and example client has been built, the next step is to test them using Memory Validator.

 

Installing the service

 

If you haven't installed the service, do the following:

 

open an administrator mode cmd prompt

 

navigate to the directory containing the serviceMV.exe to install

 

serviceMV.exe -install  

 

 

Monitoring the service

 

Prerequisites

 

example service has been installed, but not started (if service has been started, stop the service)

 

example service and example client have been built

 

 

The following process is used to monitor the application launched by the service:

 

From the Launch menu choose Services > Monitor a Service...

 

 launch-menu-monitor-a-service

 

The Monitor a service dialog is displayed

 

 monitor-a-service-empty

 

Use Browse... to open the file chooser dialog and choose the service that will be monitored by Memory Validator.

 

 monitor-a-service

 

Click OK

 

Memory Validator sets up a variety of parameters then displays a dialog box asking you to start you service. Click OK to dismiss the dialog

 

 please-start-your-service

 

Start your service. For the example serviceMV.exe do the following

oopen an administrator mode cmd prompt

onavigate to the directory containing the serviceMV.exe to start

oserviceMV.exe -start  

oserviceMV.exe starts will be monitored by Memory Validator

 

The target application contacts Memory Validator

 

Data is collected until the service finishes executing

 

Memory Validator displays the results