By andrfil
I am using nodejs and mongojs on abuntu to test things about a multiplayer game. I am worried about the cpu usage, because it’s always 100% full even when users are not connected. I don’t know if the data of the cpu usage is only related to my 5$ droplet or to the whole cpu core. Does it affect other users and should i be worried about it?
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!
Hi @andrfil
Yes, the CPU usage you can see is only related to your droplet.
But you’re on a $5 droplet, so you only get a single CPU.
You can view processes by looking at top or htop which will show which are taking up the resources.
If you constantly are using 100% CPU, then DigitalOcean might contact you because you’re just one user between multiple others on the same physical hardware, meaning you might be impacting others.
Another useful tool for monitoring server utilization is ‘glances’. It shows you all of what ‘top’ shows you plus IO, network traffic, and disk space consumption/availability.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.