mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
oe-time-dd-test.sh: improve output formatting
(From OE-Core rev: 3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d5782204c3
commit
a331cb3c5d
@@ -24,6 +24,9 @@ uptime
|
|||||||
timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync
|
timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Timeout used: ${TIMEOUT}"
|
echo "Timeout used: ${TIMEOUT}"
|
||||||
|
echo "start: top output"
|
||||||
top -c -b -n1 -w 512
|
top -c -b -n1 -w 512
|
||||||
|
echo "end: top output\n\nstart: cooker log"
|
||||||
tail -30 tmp*/log/cooker/*/console-latest.log
|
tail -30 tmp*/log/cooker/*/console-latest.log
|
||||||
|
echo "end: cooker log"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user