rpi_cpu_usage_monitor

1.0.4 • Public • Published

<<<<<<< Updated upstream

Raspberry Pi CPU usage monitor

NPM version Downloads Donate

Shows the Raspberry Pi CPU usage on RGB LED
Colors:

  • 0 - 50% green
  • 51 - 90% yellow
  • 91 - 100% red

Requirements

sysstat packages, to install type

$ sudo apt-get update
$ sudo apt-get install sysstat

An RGB LED attached to Rapsberry Pi. See the schematic.

Install

$ npm install -g rpi_cpu_usage_monitor

Usage

$ sudo rpi_cpu_usage_monitor [command] [-q]

Option:

  • -q: quiet mode, only errors will be print
Commands:
  • --test: Test mode, sequentially power on LEDs, and exit
  • --on: Power on all LEDs, and exit.
  • --off: Power off all LEDs, and exit.
  • -v: Print version, and exit.
  • -h: Print help.
If no command, show the cpu usage on the RGB LED.

Please note: You must run this in root account.

For more information click here.

Donations

  • PayPal: https://paypal.me/gyengus
  • Bitcoin: 1QJzLBK9uQP4RthmKJRQwy3v5sd4XS4S7P
  • Ethereum: 0x2bD68120A56acBf6Dbd11da2060228b8912C1e3C =======

Raspberry Pi CPU usage monitor

NPM version Downloads Support us

Shows the Raspberry Pi CPU usage on RGB LED
Colors:

  • 0 - 50% green
  • 51 - 90% yellow
  • 91 - 100% red

Requirements

sysstat packages, to install type

$ sudo apt-get update
$ sudo apt-get install sysstat

An RGB LED attached to Rapsberry Pi. See the schematic.

Install

$ npm install -g rpi_cpu_usage_monitor

Usage

$ sudo rpi_cpu_usage_monitor [command] [-q]

Option:

  • -q: quiet mode, only errors will be print
Commands:
  • --test: Test mode, sequentially power on LEDs, and exit
  • --on: Power on all LEDs, and exit.
  • --off: Power off all LEDs, and exit.
  • -v: Print version, and exit.
  • -h: Print help.
If no command, show the cpu usage on the RGB LED.

Please note: You must run this in root account.

For more information click here.

Package Sidebar

Install

npm i rpi_cpu_usage_monitor

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

18 kB

Total Files

8

Last publish

Collaborators

  • gyengus