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:02:49 +0100 |
commit | 3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa (patch) | |
tree | df56f576b96580f2e4ed9a6e0dcc23c6b0e52b45 | |
parent | ce850a5ce84f949d3114024c89ae3dd98fcbef41 (diff) | |
download | openembedded-core-contrib-3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa.tar.gz |
oe-time-dd-test.sh: improve output formatting
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=fsync if [ $? -ne 0 ]; then echo "Timeout used: ${TIMEOUT}" + echo "start: top output" top -c -b -n1 -w 512 + echo "end: top output\n\nstart: cooker log" tail -30 tmp*/log/cooker/*/console-latest.log + echo "end: cooker log" fi |