Skip to content

Instantly share code, notes, and snippets.

@reubenmiller
Last active May 22, 2025 12:31
Show Gist options
  • Save reubenmiller/3ace66d769554f40af825d2977d8e17c to your computer and use it in GitHub Desktop.
Save reubenmiller/3ace66d769554f40af825d2977d8e17c to your computer and use it in GitHub Desktop.
thin-edge.io debug info
#!/bin/sh
MODEL=$(cat /proc/cpuinfo | grep Model | cut -d: -f2- | xargs)
OS_NAME=$(cat /etc/os-release | grep PRETTY_NAME | cut -d= -f2- | tr -d '"')
printf '\n'
printf 'Debug information: (copy/paste to the ticket)\n'
printf '\n'
printf '|Property|Value|\n'
printf '|--------|-----|\n'
printf '|OS [incl. version]|`%s`|\n' "${OS_NAME:-unknown}"
printf '|Hardware [incl. revision]|`%s`|\n' "${MODEL:-unknown}"
printf '|System-Architecture|`%s`|\n' "$(uname -a)"
printf '|thin-edge.io version|`%s`|\n' "$(tedge --version)"
printf ''
@reubenmiller
Copy link
Author

wget -O - https://gist.github.com/reubenmiller/3ace66d769554f40af825d2977d8e17c/raw/0abaa6567caafc41ea2529608fc64ff2adda3d91/debug.sh | sh -s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment