andrfil
By:
andrfil

Is cpu usage related only to my dropet?

August 2, 2017 134 views
Data Analysis Node.js DigitalOcean Ubuntu 16.04

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?

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.

Have another answer? Share your knowledge.