* [PATCH 1/1] testimage: Added IO commands to dumps [not found] <cover.1443517391.git.mariano.lopez@linux.intel.com> @ 2015-09-29 9:05 ` mariano.lopez 2015-09-29 17:24 ` Khem Raj 0 siblings, 1 reply; 3+ messages in thread From: mariano.lopez @ 2015-09-29 9:05 UTC (permalink / raw) To: openembedded-core From: Mariano Lopez <mariano.lopez@linux.intel.com> 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 <mariano.lopez@linux.intel.com> --- 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 2efab29..1f21c9e 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 3f31e20..63a591d 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 -- 1.8.4.5 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] testimage: Added IO commands to dumps 2015-09-29 9:05 ` [PATCH 1/1] testimage: Added IO commands to dumps mariano.lopez @ 2015-09-29 17:24 ` Khem Raj 2015-10-05 14:16 ` Mariano Lopez 0 siblings, 1 reply; 3+ messages in thread From: Khem Raj @ 2015-09-29 17:24 UTC (permalink / raw) To: mariano.lopez; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 1976 bytes --] > On Sep 29, 2015, at 2:05 AM, mariano.lopez@linux.intel.com wrote: > > From: Mariano Lopez <mariano.lopez@linux.intel.com> > > 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 <mariano.lopez@linux.intel.com> > --- > 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 2efab29..1f21c9e 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 Somewhere it needs to documented that build system now needs to have sysstat package installed. > ps -ef > free > df > memstat > dmesg > + ip -s link and iproute2 > netstat -an > } > > diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py > index 3f31e20..63a591d 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 > -- > 1.8.4.5 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 211 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] testimage: Added IO commands to dumps 2015-09-29 17:24 ` Khem Raj @ 2015-10-05 14:16 ` Mariano Lopez 0 siblings, 0 replies; 3+ messages in thread From: Mariano Lopez @ 2015-10-05 14:16 UTC (permalink / raw) To: Khem Raj; +Cc: openembedded-core On 09/29/2015 12:24 PM, Khem Raj wrote: >> On Sep 29, 2015, at 2:05 AM, mariano.lopez@linux.intel.com wrote: >> >> From: Mariano Lopez <mariano.lopez@linux.intel.com> >> >> 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 <mariano.lopez@linux.intel.com> >> --- >> 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 2efab29..1f21c9e 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 > Somewhere it needs to documented that build system now needs to have sysstat package installed. Documentation has been updated: http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#qemu-image-enabling-tests. > >> ps -ef >> free >> df >> memstat >> dmesg >> + ip -s link > > and iproute2 > > >> netstat -an >> } >> >> diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py >> index 3f31e20..63a591d 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 >> -- >> 1.8.4.5 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-05 14:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1443517391.git.mariano.lopez@linux.intel.com>
2015-09-29 9:05 ` [PATCH 1/1] testimage: Added IO commands to dumps mariano.lopez
2015-09-29 17:24 ` Khem Raj
2015-10-05 14:16 ` Mariano Lopez
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.