您的位置:首页 > 运维架构

【软件性能测试-LoadRunner实战技能 15】== LoadRunner_监控:Unix performance monitoring with LoadRunner

2010-10-27 14:25 591 查看
When monitoring the performance of a UNIX system using LoadRunner you need to enable

rstatd on the server being tested.



Once you've enable rstatd,(

rstatd

RPC.RSTATD(8)
             BSD System Manager’s Manual            RPC.RSTATD(8)

NAME

rstatd
, rpc.rstatd
 - kernel statistics server

SYNOPSIS

rpc.rstatd

DESCRIPTION

rpc.rstatd
 is a server which returns performance statistics obtained from

     the kernel.  These statistics are usually read using the rup(1)
 command.

     They are also used by the rpc.lockd(8)
 server during crash recovery.  The

     rpc.rstatd
 daemon is normally invoked by inetd(8)
.

     rpc.rstatd
 uses an RPC protocol defined in /usr/include/rpcsvc/rstat.x
.

SEE ALSO

rup(1)
, inetd(8)
, rpc.lockd(8)

)



iN LoadRunner Controller you se a number of counters which LoadRunner

can monitor.









I've tried to define the UNIX counters and where applicable I've described the Windows and UNIX counters.



UNIX counterWindows CounterDescription
Average Load*N/AThe sum of the number of processes waiting in the run queue plus the number currently executing.
Collision rateN/AThe total number of network collisions/sec
Context switch rateSystem - Context Switches/secThe rate at which processors switch from executing one thread toanother. High switch rates can indicate performance problems as serversjuggle multiple running applications.
CPU utilisation%Processor TimeThe percentage of elapsed time that the process spends executing non-idle threads.
Disk traffic%Disk timeThe percentage of elapsed time that the disk(s) are busy servicing read or write requests.
Incoming packets error ratePackets received errorsThe number of packets received containing errors that precvent them from being delivered to a higher OSI layer protocol.
Incoming packets ratePackets received/secThe number of packets received on the network interface
Interrupt rateInterrupts/secAverage rate at which the processor receives and services hardwareinterrupts. Processes generate an interrupt when they finish a task andneed to report that fact to the CPU.
Outgoing packets error ratePackets outbound errorsThe number of packets that can't be transmitted due to errors
Outgoing packets ratePackets sent / secThe rate at which packets are sent on the network interface
Page-in ratePages Input/secThe rate at which pages are read from disk to resolve hard pagefaults. Hard page faults occur when a process refers to a page invirtual memory which is not in it's working set or available elsewherein physical memory and has
to be read from disk.
Page-out ratePages Output/secThe rate at which memory pages are written to disk to free up space in physical memory.
Paging ratePaging rateThe rate at which pages are read from disk or written to disk. This is the sum of Pages Input/sec and Pages Output/sec.
Swap-in rateN/AThe number of pages read into memory per second
Swap-out rateN/AThe number of pages written out of memory per second
System mode CPU utilizationProcessor - %Priviledged timeThe percentage of elapsed time that the processor spends executing user threads (i.e. running applications)
User mode CPU utilizationProcessor - %User timeThe percentage or elapsed time that the processor spends executing priviledged or system mode threads.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐