I'm doing an application in node to get the percentage of use of the processor, I tried to get it from the module times os, but it differs a lot from what it shows in the task manager.
I have tried with this: link
EDIT: In the end I decided to use this module link to execute the command wmic cpu get loadpercentage and thus get the percentage