From what I have collected, most of them can be found in the browser about JS CPU statistics, this is the number of processor cores that the client uses. Paste this into your JS file:
console.log(navigator.hardwareConcurrency)
You can then check this in the Chrome Dev Tools console.
However, you can calculate CPU utilization using Node.js. Here is a step by step on this.
The answer on this page may also help in your dilemma: Javascript - dynamically track CPU / memory usage
source share