We are running an app that takes work from a queue and need a way for the application to know the CPU load of the node it is running on so it doesnt take more work than it can handle.
Strangely it appears the machines allocated in the App Platform dont report CPU usage in any way that i can find. If i run
top all of the CPU summary stats at the top say
CPU: 0% usr 0% sys 0% nic 0% idle 0% io 0% irq 0% sirq
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!