https://github.com/jamesnetherton/node-cpu-temps
https://github.com/jamesnetherton/node-cpu-temps
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jamesnetherton/node-cpu-temps
- Owner: jamesnetherton
- Created: 2015-01-18T19:44:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-01T11:52:04.000Z (over 10 years ago)
- Last Synced: 2024-10-19T21:18:00.112Z (7 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-cpu-temps
My first attempt at nodejs hackery using [blessed-contrib](https://github.com/yaronn/blessed-contrib) to graph CPU temperatures.
## Prerequsites
* [nodejs](http://nodejs.org/)
* [lm-sensors](http://www.lm-sensors.org/)For RHEL, CentOS, Fedora do:
```
sudo yum install npm nodejs lm-sensors
```For Debian based distros do:
```
sudo apt-get install npm nodejs lm-sensors
```## Running the code
Clone this project and run cpu-temps.js with nodejs:
```
git clone https://github.com/jamesnetherton/node-cpu-temps.git
cd node-cpu-temps
npm install
node ./node-cpu-temps.js
```