From 69b286f790fbf90b58b25c1ca14b8e66b9bc67b8 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Fri, 6 May 2016 09:58:41 +0800 Subject: add memory_load scenario JIRA: YARDSTICK-259 This scenario reads memory usage statistics on a Linux host. memory usage statistics are read using the utility 'free'. Signed-off-by: JingLu5 Change-Id: I677aa65ca264dc77a963bf8b6913a729fbf031be --- samples/memload.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 samples/memload.yaml (limited to 'samples') diff --git a/samples/memload.yaml b/samples/memload.yaml new file mode 100644 index 000000000..0acba21b1 --- /dev/null +++ b/samples/memload.yaml @@ -0,0 +1,32 @@ +--- +# Sample benchmark task config file +# Reading memory load/statistics + +schema: "yardstick:task:0.1" + +scenarios: +- + type: MEMORYload + options: + interval: 1 + count: 1 + + host: kratos.demo + + runner: + type: Duration + duration: 60 + +context: + name: demo + image: yardstick-trusty-server + flavor: yardstick-flavor + user: ubuntu + + servers: + kratos: + floating_ip: true + + networks: + test: + cidr: '10.0.1.0/24' -- cgit 1.2.3-korg