当前位置: 代码迷 >> 综合 >> Loadrunner controller监视windows系统资源
  详细解决方案

Loadrunner controller监视windows系统资源

热度:16   发布时间:2023-12-15 14:12:34.0

Loadrunner几乎可以监控所有的主流系统平台,监控windows系统的资源最为方便,下面就说一下监控windows系统资源的方法。

要监控系统资源就要先确定被监控系统的Network DDE,Remote Registry和Net Logon这三个服务是否是启动状态,剩下的事情就简单了。

在Controller的场景监控界面里面的Windows Resources上面点右键Add Measuremens

 

然后添加要监控主机的IP地址(Add Machine)就行了。

 

在添加主机的下面就是监控的各项参数,下表就是各项参数对应的监视内容。

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 multiprocessor 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.

PhysicalDisk

% 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 outto 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. See also Processor:Interrupts/sec.

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.

 

  相关解决方案