Add scenario for reading processor load 93/3493/5
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
Fri, 20 Nov 2015 16:42:59 +0000 (17:42 +0100)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Tue, 8 Dec 2015 00:32:37 +0000 (00:32 +0000)
commitc9f8bbe529efe6843437d1810e51e8767f18535c
treec9dbaaf3bffcc116894af9e1d67c4a1dfed042f6
parent0b63746b81091a6875deca452bab7d7961638ea5
Add scenario for reading processor load

This scenario reads processor and system load statistics
and does not run any benchmark tests.

The scenario is intended to be run in parallell with
other scenarios in order to collect processor and system
load statistics.

System load is read from /proc/loadavg.

Processor usage stats is read using the 'mpstat' utility if
it has been installed on the host.

If 'mpstat' is not installed on the host processor usage stats
is read from /proc/stats.

Change-Id: I7156e0c941100023571db750de7540786a4fedb8
JIRA: YARDSTICK-181
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
samples/cpuload.yaml [new file with mode: 0644]
tests/unit/benchmark/scenarios/compute/cpuload_sample_output1.txt [new file with mode: 0644]
tests/unit/benchmark/scenarios/compute/cpuload_sample_output2.txt [new file with mode: 0644]
tests/unit/benchmark/scenarios/compute/test_cpuload.py [new file with mode: 0644]
tools/ubuntu-server-cloudimg-modify.sh
yardstick/benchmark/scenarios/compute/cpuload.py [new file with mode: 0644]