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] (From OE-Core rev: 9c9fd32105bd1a5e1c01f9dd5d1a56ceef12554e) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b73a35edb2
commit
ebd5035a7b
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue