How can I get the stats of my project?

Hi @mahmoud34abc,

While Linux should work, you may have issues with this package since it appears to be rather old and unmaintained. So it may not work with more recent versions of node.

One of our friendly engineers suggested that you try this package instead:
GitHub - soyuka/pidusage: Cross-platform process cpu % and memory usage of a PID just be sure to note that the readme points out the following:

Please note that if you need to check a Node.JS script process cpu and memory usage, you can use process.cpuUsage and process.memoryUsage since node v6.1.0. This script remain useful when you have no control over the remote script, or if the process is not a Node.JS process.

I will copy this information over to your support request for easy reference. If you have additional questions, feel free to ask them here or in your support request. Whatever works best for you!

7 Likes