Check the CPU of a virtual machine

The amount of central processing units (CPU) from the hypervisor might not correspond with the actual amount seen from within the virtual machine (VM). Therefore, it is important to confirm that your VM has sufficient CPUs to support your configuration.

About this task

Important:
The central processing unit (CPU) resources must be configured in accordance with the intended usage. Before deployment, verify your sizing requirements in this documentation.

Procedure

  1. Open a terminal.
  2. Enter this command:
    sysctl hw.ncpu
    The terminal will show the number of CPU cores allocated to the virtual machine (VM).
  3. If the number of allocated CPUs is insufficient for your configuration, you need to identify the correct amount. To do this, refer to the Minimum Guardian sizing requirements table.
  4. To confirm that the random-access memory (RAM) allocation in the hypervisor matches your sizing requirements for the intended deployment, see Check the RAM of a virtual machine.