summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSakib Sajal <sakib.sajal@windriver.com>2021-06-14 12:27:27 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-17 00:07:05 +0100
commita331cb3c5de4587a66a87da2ec7114eeea6cdbd3 (patch)
tree2a1a16baf2f42ea6a18f385b6777962aa98db891 /scripts
parentd5782204c36720acff894175a54eae732de6b6bc (diff)
downloadpoky-a331cb3c5de4587a66a87da2ec7114eeea6cdbd3.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-time-dd-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/oe-time-dd-test.sh b/scripts/oe-time-dd-test.sh
index 46b218b76a..103eee5f65 100755
--- a/scripts/oe-time-dd-test.sh
+++ b/scripts/oe-time-dd-test.sh
@@ -24,6 +24,9 @@ uptime
24timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync 24timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync
25if [ $? -ne 0 ]; then 25if [ $? -ne 0 ]; then
26 echo "Timeout used: ${TIMEOUT}" 26 echo "Timeout used: ${TIMEOUT}"
27 echo "start: top output"
27 top -c -b -n1 -w 512 28 top -c -b -n1 -w 512
29 echo "end: top output\n\nstart: cooker log"
28 tail -30 tmp*/log/cooker/*/console-latest.log 30 tail -30 tmp*/log/cooker/*/console-latest.log
31 echo "end: cooker log"
29fi 32fi