Monitoring VM Usage – CodeSandbox

Monitoring usage

VM usage is reported in the workspace portal under the virtual machine usage tab (opens in a new tab). In this view, you can find information about the workspace credit spend during the current cycle as well as logs from each session.

Understanding VM starts and stops Permalink for this section

There are two different ways to wake up a VM:

These job-related starts usually add up to a few minutes of VM time in a billing cycle. They are accounted for in the VM usage logs in the workspace portal.

CodeSandbox automatically uses hibernation timeouts to conserve VM use. If a VM has not had any interactivity for 30 minutes, it will hibernate until woken up again.

[Credits](/content/docs/learn/credit-usage/credits "Credits"/index.html) [Controlling usage](/content/docs/learn/credit-usage/controlling-usage "Controlling usage"/index.html)