Commit a707b8ca authored by Alexandra's avatar Alexandra Committed by Alexandra Rogova

new data

parent f1f2d3e9
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -30,7 +30,7 @@ var check = function(){
diskspace.check("/", function(err, result){
//var disk_used = parseInt(result.used) - parseInt(start_disk);
var disk_used = result.used - start_disk;
var ram_used = os.totalmem() - os.freemem() - start_ram;
var ram_used = os.totalmem() - os.freemem();
stream.write(Date.now() + "," + ram_used + "," + disk_used + "\n");
check();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment