Collected statistics used memory and cpu.
npm install system-monitorMonitoring free memory and cpu angli time.
bash
git clone https://github.com/eagle7410/system-monitor.git
cd system-monitor
npm install
node server.js
`
Need mongodb.
Have config file. Path to config file PROJECT_DIR/conf/index.json
Inner text him.
`json
{
"server": {
"port" : 3001
},
"db" : {
"type" :"mongo",
"port" : "localhost",
"name" : "systemMonitor",
"storeDays" : 12
},
"users" : [
{
"login" : "igor",
"pass" : "qwerty"
}
]
}
``Developer is Igor Stcherbina