mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #3636 from holta/iiab-summary_uname_-a
iiab-summary output was incomplete: (1) use 'uname -n' to show hostname (2) use 'uname -m' to show kernel arch for RasPiOS
This commit is contained in:
commit
2326d3a762
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ else
|
|||
echo "$(cat /etc/issue.net) $(cat /etc/debian_version)"
|
||||
fi
|
||||
echo "display-manager? $(systemctl is-active display-manager.service) Arch1: $(dpkg --print-architecture) Arch2: $(dpkg --print-foreign-architectures)"
|
||||
uname -rvp
|
||||
uname -nrvm
|
||||
echo "$(lscpu | grep '^Model name:' | sed 's/^Model name:\s*//') $(lscpu | grep '^CPU(s):' | tr -s ' ') "$(free -m | tail -2 | tr -s ' ' | cut -d' ' -f1-2)
|
||||
if [ -f /proc/device-tree/model ]; then
|
||||
cat /proc/device-tree/model ; echo # MORE RPi DETAIL: tail -4 /proc/cpuinfo
|
||||
|
|
Loading…
Add table
Reference in a new issue