The command takes the following options, but they are not required and can be omitted:
Option |
Description |
--datastore | -d datastore_UUID or datastore_name |
If not provided, the system selects a datastore of sufficient size. The Datastore can be a VMFS or VMFS-L volume. |
--file | -f file_name |
If not provided, the system specifies a unique name for the core dump file. |
--size |-s file_size_MB |
If not provided, the system creates a file of the size appropriate for the memory installed in the host. |
You can see the output similar to the following:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile false false 104857600
esxcli system coredump file set
The command takes the following options:
Option |
Description |
--path | -p |
The path of the core dump file to use. The file must be pre-allocated. |
--smart | -s |
This flag can be used only with --enable | -e=true. It causes the file to be selected using the smart selection algorithm. For example, esxcli system coredump file set --smart --enable true |
esxcli system coredump file list
The output similar to the following indicates that the core dump file is active and configured:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile True True 104857600