Improve system and process monitoring for tests in PTL


Overview

Present process monitoring of PTL tests only measures pid,rss,vsz,pcpu through ps command. We would like to measure more things when a Load/stress test is being run.


Synopsis:

  1. With PTL framework measuring pid,rss,vsz,pcpu through ps command i propose adding pmem,size,cputime to the existing ps -o command.
  2. In addition to process monitoring i would propose adding few system monitoring sensors to be monitored when proc monitor is called.
    1. Run sar command to measure rss,vsz,%memused,%system,%swpused,rtps,wtps.
    2. Measure os.getloadavg() to measure system load at that point of time.
  3. The data will be stored at test level in PTL JSON report.

Note:

Only Important sensors are stored out of the output from sar command. We should not fill the report with excess data.

%system - Percentage of CPU utilization that occurred while executing at the system level (kernel). Note that this field includes time spent servicing hardware and software interrupts

%memused - Percentage of used memory

rtps - Total number of read requests per second issued to physical devices

wtps - Total number of write requests per second issued to physical devices

%swpused - Percentage of used swap space








OSS Site Map

Project Documentation Main Page

Developer Guide Pages