diff options
author | Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-11-20 17:42:59 +0100 |
---|---|---|
committer | Jörgen Karlsson <jorgen.w.karlsson@ericsson.com> | 2015-12-08 00:32:37 +0000 |
commit | c9f8bbe529efe6843437d1810e51e8767f18535c (patch) | |
tree | c9dbaaf3bffcc116894af9e1d67c4a1dfed042f6 /tools/ubuntu-server-cloudimg-modify.sh | |
parent | 0b63746b81091a6875deca452bab7d7961638ea5 (diff) |
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>
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-x | tools/ubuntu-server-cloudimg-modify.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ubuntu-server-cloudimg-modify.sh b/tools/ubuntu-server-cloudimg-modify.sh index bdf96ba5a..9e1b40cac 100755 --- a/tools/ubuntu-server-cloudimg-modify.sh +++ b/tools/ubuntu-server-cloudimg-modify.sh @@ -46,8 +46,8 @@ apt-get install -y \ lmbench \ netperf \ rt-tests \ - stress + stress \ + sysstat # restore symlink ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf - |