diff --git a/pages/linux/coredumpctl.md b/pages/linux/coredumpctl.md new file mode 100644 index 000000000..bfe7a6254 --- /dev/null +++ b/pages/linux/coredumpctl.md @@ -0,0 +1,24 @@ +# coredumpctl + +> Retrieve and process saved core dumps and metadata. +> More information: . + +- List all captured core dumps: + +`coredumpctl list` + +- List captured core dumps for a program: + +`coredumpctl list {{program}}` + +- Show information about the core dumps matching a program with `PID`: + +`coredumpctl info {{PID}}` + +- Invoke debugger using the last core dump of a program: + +`coredumpctl debug {{program}}` + +- Extract the last core dump of a program to a file: + +`coredumpctl --output={{path/to/file}} dump {{program}}`