CPU steal time – how to check

You can easly check steal time of your VPS if you run top command and take a look at the info there.

At the end of the cpu line you should see this:

%Cpu line – end of line…it shows 0.0 st and that means it has cpu all for itself

Now, if you want to make sure steal time readings are correct use something like:

 dd if=/dev/zero | md5sum

This command will make sure your cpu is actually doing something. That way CPU steal time readings will be correct. After running this command on other vps I’m using I have got this:

Now you get the idea. This other VPS is oversold. Without using upper command I get this:

Without dd command used…no real cpu steal time

Let’s try again…

With dd command ran
Without dd command being ran

You should always make sure CPU is being used at that moment in order to get correct CPU steal time numbers…

Nick

Leave a Reply

Your email address will not be published. Required fields are marked *