Lookng at tutorial: How To Monitor CPU Use on DigitalOcean Droplets | DigitalOcean
I’m trying to get CPU usage / load metrics of the environment where my node application is running but running the command
uptime just gives load average as
load average: 0.0, 0.0, 0.0 whereas in both my local dev (WSL) and docker container has the proper load avg which I’m later using in my node app with func: os.loadavg().
I assume there are permission errors but isn’t there any way to get system load info i.e. cpu, mem, etc. in a web app env or will I need to recreate as a droplet? In the tutorial they also run
uptime with no issues.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.