Browse Source

Move stuf around in debug script (#774)

dashboard-0.3.20
Luke Childs 4 years ago
committed by GitHub
parent
commit
e628f0bc87
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 30
      scripts/debug

30
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"

Loading…
Cancel
Save