How to find out the % CPU usage for Node.js process?

前端 未结 6 1326
挽巷
挽巷 2021-01-31 18:59

Is there a way to find out the cpu usage in % for a node.js process via code. So that when the node.js application is running on the server and detects the CPU exceeds certain %

6条回答
提交回复
热议问题