Is it possible to use nodes os.cpus() module on react? Trying to figure out how to get real time cpu usage updates from node on a project on working on. I have played around with react before but i am still a newb and i haven't touched on node yet, so this is proving to be difficult for me.
update: I need the cpu data to be displayed in the site i am making
You can get the stats of the server system through an API call.
However, to get the stats of the client system is not possible as browsers are supposed to be run in sandbox mode to stop websites from reading the client system or changing it.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments