Is it possible to monitor CPU or GPU usage using JavaScript for example? I know that browser can access informations (number of cores, model of GPU, OS ...) but I do not know how it will be possible to monitor (and use) GPU through web browser.
Asked
Active
Viewed 1,159 times
1
-
using strictly javascript, you can make your computer serve to a local url, like localhost, and display cpu and gpu usage that way. You would need to use the Node stack for all JS... – Ice76 Sep 25 '17 at 16:38
-
2https://stackoverflow.com/questions/15464896/get-cpu-gpu-memory-information – Jonas Wilms Sep 25 '17 at 16:41
-
What are you doing this for? – Ice76 Sep 25 '17 at 17:05
-
Saw recent posts on CoinHive used in PirateBay's code to generate Monero and this has awakened my curiosity about the capabilities/limitations of web-applications (using JS) compared to desktop-applications (C++, Python...). For example I know multithreading was one of the differences but according to what I read it's no longer the case. – Jules Sep 25 '17 at 18:08