Windows Resources monitor
The Windows Resources monitor shows the Windows resources measured during the test run. Windows measurements correspond to the built-in counters available from the Windows Performance Monitor.
Set up the Windows Resources monitor
This task describes how to configure the Windows Resources monitor.
-
Prerequisite
If your monitor accesses a server outside of your internal network, you may need to set up a web proxy to collect data from it. For details, see Prerequisite (use a proxy server).
-
From the LoadRunner Enterprise navigation toolbar, click and select Monitors (under Assets).
-
In the test resource tree, select an existing monitor profile, or click New Monitor Profile and create a new monitor profile.
-
In the Monitor Profile page, click Add Monitor and select Windows Resources.
-
In the Windows Resources page, enter the server details:
-
Click Get Counters to display a list of available metrics and counters, and select the relevant measurements that you want to monitor.
The following default measurements are available for Windows machines:
Object
Measurement
Description
System
% Total Processor Time
The average percentage of time that all the processors on the system are busy executing non-idle threads. On a multi-processor system, if all processors are always busy, this is 100%, if all processors are 50% busy this is 50% and if 1/4 of the processors are 100% busy this is 25%. It can be viewed as the fraction of the time spent doing useful work. Each processor is assigned an Idle thread in the Idle process which consumes those unproductive processor cycles not used by any other threads.
System
File Data Operations/sec
The rate at which the computer issues read and write operations to file system devices. This does not include File Control Operations.
Processor
% Processor Time (Windows 2000)
The percentage of time that the processor is executing a non-idle thread. This counter was designed as a primary indicator of processor activity. It is calculated by measuring the time that the processor spends executing the thread of the idle process in each sample interval, and subtracting that value from 100%. (Each processor has an idle thread which consumes cycles when no other threads are ready to run). It can be viewed as the percentage of the sample interval spent doing useful work. This counter displays the average percentage of busy time observed during the sample interval. It is calculated by monitoring the time the service was inactive, and then subtracting that value from 100%.
System
Processor Queue Length
The instantaneous length of the processor queue in units of threads. This counter is always 0 unless you are also monitoring a thread counter. All processors use a single queue in which threads wait for processor cycles. This length does not include the threads that are currently executing. A sustained processor queue length greater than two generally indicates processor congestion. This is an instantaneous count, not an average over the time interval.
Memory
Page Faults/sec
This is a count of the page faults in the processor. A page fault occurs when a process refers to a virtual memory page that is not in its Working Set in the main memory. A page fault will not cause the page to be fetched from disk if that page is on the standby list (and hence already in main memory), or if it is in use by another process with which the page is shared.
Physical Disk
% Disk Time
The percentage of elapsed time that the selected disk drive is busy servicing read or write requests.
Memory
Pool Nonpaged Bytes
The number of bytes in the nonpaged pool, a system memory area where space is acquired by operating system components as they accomplish their appointed tasks. Nonpaged pool pages cannot be paged out to the paging file. They remain in main memory as long as they are allocated.
Memory
Pages/sec
The number of pages read from the disk or written to the disk to resolve memory references to pages that were not in memory at the time of the reference. This is the sum of Pages Input/sec and Pages Output/sec. This counter includes paging traffic on behalf of the system cache to access file data for applications. This value also includes the pages to/from non-cached mapped memory files. This is the primary counter to observe if you are concerned about excessive memory pressure (that is, thrashing), and the excessive paging that may result.
System
Total Interrupts/sec
The rate at which the computer is receiving and servicing hardware interrupts. The devices that can generate interrupts are the system timer, the mouse, data communication lines, network interface cards, and other peripheral devices. This counter provides an indication of how busy these devices are on a computer-wide basis.
Objects
Threads
The number of threads in the computer at the time of data collection. Notice that this is an instantaneous count, not an average over the time interval. A thread is the basic executable entity that can execute instructions in a processor.
Process
Private Bytes
The current number of bytes that the process has allocated that cannot be shared with other processes.
Monitor a remote server that is not using Windows domain security
If you want to monitor a remote Windows server that does not use Windows domain security, you must authenticate the Controller on the remote Windows server.
To authenticate the Controller, create an account, or change the password of the account used to log onto the Controller so that it matches the password and user name used to log onto the remote monitored Windows machine. When the remote Windows machine requests another machine's resources, it sends the logged-in user name and password of the machine requesting the resources.
Notes and limitations
If you encounter a "Failed to retrieve measurements" error when trying to get monitor counters or run a test, see Monitor fails to retrieve measurements.
See also: