Machine Status (CPU usage + Memory usage + Disk usage) tracking using node-js.
It runs on a configured schedule and gather system's information (CPU usage + Memory usage + Disk usage), save it to a local Sqlite3 database and then provides a routine to export these data to CSV so you can run your analysis/reports on it :)
- Download zip, or clone the repo
git clone https://github.com/Agezao/machine-status.git
- cd to project folder
- run
[sudo] npm install
(first time users) - edit config with your informations and rename it to
index.js
(instead ofindex.example.js
) npm start
To later query the data, you can use the CLI of sqlite to search inside the .sqlite3 file.
or
run npm run export
and it'll generate one .csv with all your sql data in a structured manner.
Do whatever you want. open-source MIT license.