Is cpu usage related only to my dropet?

Posted August 2, 2017 3.3k views
Node.jsDigitalOceanUbuntu 16.04Data Analysis

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?

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.

Submit an Answer
2 answers

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.