Skip to content

bojanvidanovic/LedBorg-CPU-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

LedBorg CPU Monitor on RaspberryPi

Simple script written in Python for free use on your RaspberryPi with LedBorg, handy tool for monitoring your CPU usage in a simple way. I have implemented gradient of 10 colors, from blue(<10%)-green(<50%)-red(<90%) CPU usage.

Requirements

    • Raspberry Pi
      Python 2.7
      Some linux knowledge
  • Test

    sudo python ledborg-cpu-monitor.py
    

    Installation

    1. Copy ledborg-cpu-monitor.py in /usr/local/bin/ledborg #You can change the path

      sudo cp ledborg-cpu-monitor.py /usr/local/bin/ledborg/
      
    2. Make sure the script is executable

      sudo chmod +x /usr/local/bin/ledborg/ledborg-cpu-monitor.py
      
    3. Copy ledborg-cpu-monitor.sh in /etc/init.d #If you have changed default path of py script, you need to this file adding the correct path

      sudo cp ledborg-cpu-monitor.sh /etc/init.d
      
    4. Make sure the script is executable

      sudo chmod +x /etc/init.d/ledborg-cpu-monitor.sh
      
    5. Auto start at boot

      sudo update-rc.d ledborg-cpu-monitor.sh defaults
      

    Usage

    To start: `sudo /etc/init.d/ledborg-cpu-monitor.sh start`
    To stop: `sudo /etc/init.d/ledborg-cpu-monitor.sh stop`

    Author

    Bojan Vidanovic - Web Application Developer, in free time like to play with Raspberry Pi :) Follow me on:
    Twitter
    Google+

    About

    CPU usage monitor using LedBorg

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published