如何去抓Hyper-v中的虚拟机的dump文件.

2010年2月3日 | 分类: Microsoft | 标签: , , , | Author: 许珈毓
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

General Information

Hyper-V(tm) VM State to Memory Dump Converter (vm2dmp) is a command-line tool that converts the saved state of a Hyper-V virtual machine to a full memory dump file compatible with Debugging Tools for Windows. You can use this tool to convert the memory contents of a virtual machine at a point of time to a full memory dump file. The vm2dmp tool makes it easier to debug hard problems when they occur on virtual machines. Using this tool, developers can save time by avoiding the need to create a dump file over a slow debugger connection or from the operating system running inside the virtual machine.

Setup

Copy the vm2dmp.exe to the installation folder for Debugging Tools for Windows (e.g. C:\Program Files\Debugging Tools for Windows\). After this operation vm2dmp is ready to use.

Quick Usage

Create a dump file from virtual machine:
vm2dmp.exe –vm VISTASP1-ENT-32 -dmp C:\VM\memory.dmp
Create a dump file from snapshot’s state:
vm2dmp.exe –vm VISTASP1-ENT-32 –snap “VISTASP1-ENT-32-snapshot-SP1” -dmp C:\VM\memory.dmp
Create a dump file using virtual machine state files:
vm2dmp.exe -bin C:\VM\example.bin -vsv C:\VM\example.vsv -dmp C:\VM\memory.dmp
Create a dump file using local symbols:
vm2dmp.exe -bin C:\VM\example.bin -vsv C:\VM\example.vsv -dmp C:\VM\memory.dmp –sym C:\symbols

For detailed instructions you can download user guide from here

Requirements

  • A computer running the release version (RTM) one of the following Windows operating systems:
    • Windows Server 2008 R2
    • Windows 7
  • Installation of “Debugging Tools for Windows”.
  • For required symbol information; either internet connection or correct guest operating system symbols for the virtual machine being converted into dump file, cached locally on the host.
  • Guest operating system to be one of Hyper-V supported operating systems when state information was created.

Last edited Today at 1:55 AM by antonau, version 13

没有评论

  • (Required)
  • (Required, will not be published)