how to check what causes 100% cpu usages ?

I created a server in c# for some reason on my machine it doesn't use 100% of cpu but once I host it on a vps i see that it uses 100%
Was this page helpful?