Updated on 2024-10-18 GMT+08:00

Viewing a Dump File

Scenarios

After triggering an OS dump, you can view the generated memory dump file on your ECS.

This section describes how to trigger an OS dump and view the generated dump file.

Prerequisites

Operations described in Configuring OS Dump have been completed.

Triggering an OS Dump

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. In the ECS list, locate the row containing the target ECS and choose More > Troubleshoot > Trigger OS Dump in the Operation column.
  5. Learn about the OS dump risks and select the check box.
  6. Click OK to trigger an OS dump.

Viewing a Dump File (Windows)

The Windows Server 2016 is used as an example. For operations on more versions, see the help documents provided on the corresponding official website.

  1. Log in to a Windows ECS.
  2. Go to the path specified in Configuring an OS Dump (Windows) to view the generated dump file.

    For example, view the generated memory.dmp file in C:\Windows.

    You can use tools to check and analyze the dump files. For details, see Analyzing a Kernel-Mode Dump File.

Viewing a Dump File (Linux)

The CentOS 7.5 is used as an example. For operations on more versions, see the help documents provided on the corresponding official website.

  1. Log in to a Linux ECS.
  2. Check whether a dump file is generated.

    ls /var/crash/

    127.0.0.1-2024-05-22-21:35:26

    You can use the crash tool in Linux to analyze the dump files. For details, see Crash.