UNIX resource monitoring

The UNIX Resources monitor shows the UNIX resources measured during the scenario. The graph helps you determine the impact of Vuser load on the various system resources.

Set up the UNIX monitoring environment

Before monitoring UNIX resources, you must configure all UNIX machines being monitored.

This task describes how to configure the UNIX environment before setting up the UNIX Resources monitor.

How to set up the UNIX monitoring environment:

  1. Make sure that authentication by password is enabled on your server:

    1. Open /etc/ssh/sshd_config.

    2. Find the line that defines the password authentication property, and enable it.

      For example: PasswordAuthentication yes

      If this property is not defined, add it.

    3. Save the file and restart the sshd service.
  2. LoadRunner Professional supports the Linux distributions that use the following list of commands. Verify that these commands run on the UNIX machine without errors:

    /bin/cat /proc/stat| /bin/grep cpu | /usr/bin/head -n 1

    /bin/cat /proc/stat | /bin/grep btime

    /bin/cat /proc/uptime

    /bin/cat /proc/stat | /bin/grep ctxt

    /bin/cat /proc/vmstat | /bin/grep pgpgin -A 3

    /bin/cat /proc/loadavg

    /bin/cat /proc/net/dev | /usr/bin/head -n3 | /usr/bin/tail -n1

    /bin/cat /proc/stat | /bin/grep intr | /usr/bin/awk '{print $2}'

    /bin/cat /proc/meminfo | /bin/grep MemTotal -A 2

  3. Configure the monitor measurements in Controller

    For task details, see Set up a monitoring environment.

    In the Resource Measurements on <machine> section of the UNIX Resources dialog box, click Add to open the UNIX Kernel Statistics dialog box, and then select the available measurements and server properties.

    For a description of the available UNIX monitor measurements, see UNIX resources performance counters.

    Note: In the UNIX Kernel Statistics dialog box, selecting the Recover Connection check box enables Controller to try to recover a broken connection to a monitored UNIX server. If the Recover Connection check box is not selected, a broken connection will be maintained until the end of the Controller session, and as a result server details will not be received from the monitored server. By default, the Recover Connection check box is selected.

Back to top

UNIX resources performance counters

The following default measurements are available for the UNIX machine:

Measurement
Description
Average load
Average number of processes simultaneously in Ready state during the last minute
Collision rate
Collisions per second detected on the Ethernet
Context switches rate
Number of switches between processes or threads, per second
CPU utilization
Percent of time that the CPU is utilized
Disk rate
Rate of disk transfers
Incoming packets error rate
Errors per second while receiving Ethernet packets
Incoming packets rate
Incoming Ethernet packets per second
Interrupt rate
Number of device interrupts per second
Outgoing packets errors rate
Errors per second while sending Ethernet packets
Outgoing packets rate
Outgoing Ethernet packets per second
Page-in rate
Number of pages read to physical memory, per second
Page-out rate
Number of pages written to pagefile(s) and removed from physical memory, per second
Paging rate
Number of pages read to physical memory or written to pagefile(s), per second
Swap-in rate
Number of processes being swapped
Swap-out rate
Number of processes being swapped
System mode CPU utilization
Percent of time that the CPU is utilized in system mode
User mode CPU utilization
Percent of time CPU is utilized in user mode

Note: In the UNIX Kernel Statistics dialog box, selecting the Recover Connection check box enables Controller to try to recover a broken connection to a monitored UNIX server. If the Recover Connection check box is not selected, a broken connection will be maintained until the end of the Controller session, and as a result server details will not be received from the monitored server. By default, the Recover Connection check box is selected.

Back to top