CPU Busy Scipt

To load test your vcpu’s you can use the following script:

[wpdm_file id=”3″]

Or cut and paste the following text into a vbs file:

Dim goal
Dim before
Dim x
Dim y
Dim i

goal = 2181818

Do While True
before = Timer
For i = 0 to goal
x = 0.000001
y = sin(x)
y = y + 0.00001
Next
y = y + 0.01
Loop

Leave a Reply

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