Skip to content

Commit

Permalink
api: print more information about SOC in get_device_info
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Nov 12, 2023
1 parent 9c3e2b8 commit 0df75c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,8 @@ get_device_info() { #returns information about current install and hardware
echo "Kernel: $(uname -m) $(uname -r)"
# obtain model name
get_model
echo "Device model: $model $jetson_model"
echo "Device model: $model"
[[ ! -z "$SOC_ID" ]] && echo "SOC identifier: $SOC_ID"
echo "Cpu name: $( lscpu | awk '/Model name:/ {print $3}' )"
echo "Ram size: $(echo "scale=2 ; $( awk '/MemTotal/ {print $2}' /proc/meminfo ) / 1024000 " | bc ) GB"

Expand Down

0 comments on commit 0df75c2

Please sign in to comment.