Last active
April 22, 2020 03:41
-
-
Save SidShetye/632180341c498afe77b95f9120f66967 to your computer and use it in GitHub Desktop.
script for system info on Rasbperry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "Temperature ....: $(vcgencmd measure_temp | sed 's/.*=//')" | |
echo "Memory .........: $(free -h | grep Mem | awk '{print $4 " free out of " $2}')" | |
echo "Storage ........: $(df -H | grep "/$" | awk '{print $4 " free out of " $2}')" | |
echo "Uptime .........: $(uptime -p)" | |
echo "CPU Frequency ..: $(($(vcgencmd measure_clock arm | sed 's/^.*=//')/1000000)) MHz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment