From 9c9fd32105bd1a5e1c01f9dd5d1a56ceef12554e Mon Sep 17 00:00:00 2001 From: Mariano Lopez Date: Tue, 29 Sep 2015 09:05:56 +0000 Subject: testimage: Added IO commands to dumps This change just add two more commands to the host dumps to get more information related to the IO. [YOCTO #8412] Signed-off-by: Mariano Lopez Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/classes/testimage.bbclass | 2 ++ meta/lib/oeqa/utils/dump.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index bde510ca26..b4d4a69b0d 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass @@ -80,11 +80,13 @@ testimage_dump_target () { testimage_dump_host () { top -bn1 + iostat -x -z -N -d -p ALL 20 2 ps -ef free df memstat dmesg + ip -s link netstat -an } diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index 3f31e206a5..63a591d366 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py @@ -20,11 +20,13 @@ class BaseDumper(object): # to set some defaults. self.parent_dir = parent_dir or "/tmp/oe-saved-tests" dft_cmds = """ top -bn1 + iostat -x -z -N -d -p ALL 20 2 ps -ef free df memstat dmesg + ip -s link netstat -an""" if not cmds: cmds = dft_cmds -- cgit 1.2.3-korg