From e628f0bc87cb3b97278f5b224e180776e6e54e23 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 3 May 2021 13:22:44 +0700 Subject: [PATCH] Move stuf around in debug script (#774) --- scripts/debug | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/scripts/debug b/scripts/debug index 6169e29..443478e 100755 --- a/scripts/debug +++ b/scripts/debug @@ -85,7 +85,23 @@ if [[ ! -z "${UMBREL_OS:-}" ]]; then echo "----------" vcgencmd get_throttled +fi + +echo +echo "Memory usage" +echo "------------" +free --human --mega +echo +"${UMBREL_ROOT}/scripts/memory-usage" + + +echo +echo "Filesystem information" +echo "----------------------" + +df --human-readable / "${UMBREL_ROOT}" +if [[ ! -z "${UMBREL_OS:-}" ]]; then echo echo "Startup service logs" echo "--------------------" @@ -102,20 +118,6 @@ if [[ ! -z "${UMBREL_OS:-}" ]]; then journalctl --unit=umbrel-external-storage-sdcard-update.service | tail -n 30 fi -echo -echo "Memory usage" -echo "------------" -free --human --mega -echo -"${UMBREL_ROOT}/scripts/memory-usage" - - -echo -echo "Filesystem information" -echo "----------------------" - -df --human-readable / "${UMBREL_ROOT}" - echo echo "Karen logs"