We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b898c9a commit 8886718Copy full SHA for 8886718
TOEDistributionServer/src/node/tns/routes/index.js
@@ -123,7 +123,7 @@ function updateStats(){
123
124
/* estimate average cpu load (does not work in windows)*/
125
cpuUsage=os.loadavg();
126
- cpuUsage=cpuUsage[0] * 100;//using 1 min average
+ cpuUsage=cpuUsage[1] * 100 / os.cpus().length;//using 5 min average
127
128
129
/* get current disk usage */
0 commit comments