CPU load monitoring using GPIO and leds - Raspberry Pi Forums


hello !
wrote today article on blog cpu load monitoring (using gpio , leds) on raspberry's. simple (written in little shell script), think can useful (for people want learn leds stuff on r. pi)

there 5 leds turning on , off regarding cpu load:
- cpu < 20%: 1 led
- cpu < 40%: 2 leds
- cpu < 60%: 3 leds
- cpu < 80%: 4 leds
- cpu < 90%: 5/5 leds
- cpu >= 90%: 5 leds flashing

here article: written in french, can watch youtube video , download code @ bottom of article.
http://www.chteuchteu.com/2012/10/26/ra ... e-au-gpio/

if find errors in code, can post comment on article. ! :)

up :)
code enhancements ?


raspberrypi



Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'