Displays are Pimoroni Blinkt, Scroll-pHAT, and Scroll-pHAT-HD connected to Raspberry Pi 3 using Triple GPIO Multiplexing Expansion Board
3
stars
0
forks
source link
change main/test1/create-message.sh from uptime to per CPU load #8
Closed
BradleyA closed 6 years ago
change uptime to awk '$1~/cpu[0-9]/{usage=($2+$4)*100/($2+$4+$5); print $1": "usage"%"}' /proc/stat
so can see each CPU