summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/testimage.bbclass2
-rw-r--r--meta/lib/oeqa/utils/dump.py2
2 files changed, 4 insertions, 0 deletions
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 () {
80 80
81testimage_dump_host () { 81testimage_dump_host () {
82 top -bn1 82 top -bn1
83 iostat -x -z -N -d -p ALL 20 2
83 ps -ef 84 ps -ef
84 free 85 free
85 df 86 df
86 memstat 87 memstat
87 dmesg 88 dmesg
89 ip -s link
88 netstat -an 90 netstat -an
89} 91}
90 92
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):
20 # to set some defaults. 20 # to set some defaults.
21 self.parent_dir = parent_dir or "/tmp/oe-saved-tests" 21 self.parent_dir = parent_dir or "/tmp/oe-saved-tests"
22 dft_cmds = """ top -bn1 22 dft_cmds = """ top -bn1
23 iostat -x -z -N -d -p ALL 20 2
23 ps -ef 24 ps -ef
24 free 25 free
25 df 26 df
26 memstat 27 memstat
27 dmesg 28 dmesg
29 ip -s link
28 netstat -an""" 30 netstat -an"""
29 if not cmds: 31 if not cmds:
30 cmds = dft_cmds 32 cmds = dft_cmds