Windows Service Resources Test

For a configured service, this test reports whether that service is up and running or not. In addition, the test automatically determines the ID and name of the process that corresponds to the configured service, and measures the CPU and memory usage of that process and the I/O load imposed by the process.

Note:

This test executes only on Windows hosts.

This test is disabled by default. Enable this test only if the WebLogic server is operating on a Windows host. To enable the test, go to the enable / disable tests page using the menu sequence : Agents -> Tests -> Enable/Disable, pick WebLogic as the Component type, Performance as the Test type, choose this test from the disabled tests list, and click on the << button to move the test to the ENABLED TESTS list. Finally, click the Update button.

Target of the test : A WebLogic Application Server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the ServiceName configured.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

The IP address of the WebLogic server for which this test is to be configured.

Port

The port number of the WebLogic server.

ServiceName

Specify the exact name of the service to be monitored. For eg., to monitor the World Wide Web Publishing service, the ServiceName should be: W3SVC. If your service name embeds white spaces, then specify the service name within "double-quotes".

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Service availability

Indicates whether the configured service is available or not.

Percent

If the service exists on the target host and is currently running, then this measure will report the value 100. On the other hand, if the service exists but is not running, then this measure will report the value 0. If the service does not exist, then the test will report the value Unknown.

CPU utilization

Indicates the percentage of CPU utilized by the process that corresponds to the configured ServiceName.

Percent

A very high value could indicate that the service is consuming excessive CPU resources.

Memory utilization

For the process corresponding to the specified ServiceName, this value represents the ratio of the resident set size of the process to the physical memory of the host system, expressed as a percentage.

Percent

A sudden increase in memory utilization for a process may be indicative of memory leaks in the application.

Handle count

Indicates the number of handles opened by the process mapped to the configured ServiceName.

Number

An increasing trend in this measure is indicative of a memory leak in the service.

Number of threads

Indicates the number of threads that are used by the process that corresponds to the configured ServiceName.

Number

 

Virtual memory used

Indicates the amount of virtual memory that is being used by the process that corresponds to the configured ServiceName.

MB

 

I/O data rate

Indicates the rate at which the process mapped to the configured servicename is reading and writing bytes in I/O operations.

Kbytes/Sec

This value counts all I/O activity generated by a process and includes file, network and device I/Os.

I/O data operations

Indicates the rate at which the process corresponding to the specified ServiceName is issuing read and write data to file, network and device I/O operations.

Operations/Sec

 

I/O read data rate

Indicates the rate at which the process that corresponds to the configured service name is reading data from file, network and device I/O operations.

Kbytes/Sec

 

I/O write data rate

Indicates the rate at which the process (that corresponds to the configured ServiceName) is writing data to file, network and device I/O operations.

Kbytes/Sec

 

Page fault rate

Indicates the total rate at which page faults are occurring for the threads of the process that maps to the configured ServiceName.

Faults/Sec

A page fault occurs when a thread refers to a virtual memory page that is not in its working set in main memory. This may not cause the page to be fetched from disk if it is on the standby list and hence already in main memory, or if it is in use by another process with whom the page is shared.

Memory working set

Indicates the current size of the working set of the process that maps to the configured ServiceName.

MB

The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use.  When free memory falls below a threshold, pages are trimmed from Working Sets. If they are needed they will then be soft-faulted back into the Working Set before leaving main memory.

By tracking the working set of a process over time, you can determine if the application has a memory leak or not.