You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling the currentLoad() function the currentLoad value is completly off. I checked task manager and it says 42% load while the currentLoad value I get is ~6.134.
I understand that there can be a difference but it shouldn't be that much off.
To Reproduce
Code I used:
setInterval(()=>{getSystemInfo();},1000)// tried also 5s, 10s, even 30s with same resultasyncfunctiongetSystemInfo(){try{constcpu=awaitsi.currentLoad()//console.log(cpu)constcpuInfo={cpuLoad: cpu.currentLoad};console.log(cpuInfo)}catch(error){logger.error('Error:',error);}}
@sebhildebrandt Do you have any updates on this?
I found out that scaling the output with *9 or *10 provides way closer results (downside is sometimes this produces values above 100)
Describe the bug
When calling the currentLoad() function the currentLoad value is completly off. I checked task manager and it says 42% load while the currentLoad value I get is ~6.134.
I understand that there can be a difference but it shouldn't be that much off.
To Reproduce
Code I used:
Current Output
Environment (please complete the following information):
To get all needed environment information, please run the following command:
The text was updated successfully, but these errors were encountered: