diff options
author | Sakib Sajal <sakib.sajal@windriver.com> | 2021-06-14 12:27:27 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-17 00:07:05 +0100 |
commit | a331cb3c5de4587a66a87da2ec7114eeea6cdbd3 (patch) | |
tree | 2a1a16baf2f42ea6a18f385b6777962aa98db891 /scripts | |
parent | d5782204c36720acff894175a54eae732de6b6bc (diff) | |
download | poky-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-x | scripts/oe-time-dd-test.sh | 3 |
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 | |||
24 | timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync | 24 | timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync |
25 | if [ $? -ne 0 ]; then | 25 | if [ $? -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" | ||
29 | fi | 32 | fi |