incus debug dump-memory - Incus documentation
Description: Export a virtual machine’s memory state Synopsis: [96;1;4mDescription:[0;22;24m, Export the current memory state of a running virtual machine into a dump file., This can be useful for debugging o...

Skip to content
Back to top
View this page

# `incus debug dump-memory`

Export a virtual machine’s memory state

## Synopsis

[96;1;4mDescription:[0;22;24m
Export the current memory state of a running virtual machine into a dump file.
This can be useful for debugging or analysis purposes.

    incus debug dump-memory [2m[[22m[32m<remote>[0m:[2m][22m[32m<instance>[0m [32m<target file>[0m [flags]

## Examples

      incus debug dump-memory vm1 memory-dump.elf --format=elf
          Creates an ELF format memory dump of the vm1 instance.

## Options

      -f, --format   Format of memory dump (e.g. elf, win-dmp, kdump-zlib, kdump-raw-zlib, ...) (default "elf")

## Options inherited from parent commands

          --debug          Show all debug messages
          --explain        If the command is valid, explain its parsed arguments instead of running it
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- incus debug - Debug commands