Note: The flag -W, -W8, or -N is to reference the virtual machine's Guest OS and not the workstation machine we are running the command from.
To create the memory dump if the virtual machine is on an ESX/ESXi host:
-
Start a SSH session to the ESXi host.
-
Run this command to determine the world ID of the virtual machine:
vm-support -x
Note: Regarding ESXi 6.7, use command
esxcli vm process list
-
Note: If the vm-support -Z does not work with your ESXi version there are other options:
https://knowledge.broadcom.com/external/article?articleNumber=326327#3
4. Copy the virtual_machine_name.vmss file to the location where the vmss2core tool is located.
Note: If virtual_machine_name.vmem exist, copy to the same location as above.
-
Run the vmss2core tool with the option to create a memory dump.
# vmss2core –W virtual_machine_name.vmss
If using Microsoft Windows 8/8.1, Windows Server 2012, Windows Server 2016 or Windows Server 2019 run this command:
# vmss2core -W8 virtual_machine_name.vmss
If using Microsoft Windows and willing perform the default operation of converting the VM snapshot into a core dump, run this command:
# vmss2core virtual_machine_name.vmss virtual_machine_name.vmem
If using Linux, use the command:
# ./vmss2core-Linux64 -N virtual_machine_name.vmss
Note: The flag -W, -W8, or -N is to reference the virtual machine's Guest OS and not the jump-box machine the command is run from.
6. The vmss2core-sb-8456865.exe currently downloaded from Flings does not support guest OS like Windows 11 or Windows Server 2025.
Therefore, to use vmss2core with Windows 11 or Windows 2025, we need to use the version bundled with VMware Workstation Pro.