KDUMPCTL(8)
๐ NAME ๐
kdumpctl โ control interface for kdump ๐
okay so bestie, this is a page from the System Manager's Manual (that's section 8, the big-girl system administration one), and it's literally just "I control kdump, and I'm not sorry about it." ๐
๐ SYNOPSIS ๐
kdumpctl COMMAND
โจ DESCRIPTION โจ
so kdumpctl is the check-or-control bestie for the kdump service. ๐ซถ
but ngl? in most cases you should use systemctl to start / stop / enable the kdump service instead. like, that's the normal way, fr fr.
kdumpctl is still here though, giving you more details for debugging and a cute little helper to set up ssh key authentication. it's giving โจtool for when things get realโจ. iconic behaviour, honestly.
๐ COMMANDS ๐
startโ starts the service. simple, clean, slay. โจstopโ stops the service. โstatusโ prints the current status of kdump service. it returns a non-zero value if kdump is not operational, so watch that exit code like it's your situationship. ๐restartโ is equal tostart; stop. that's it, that's the whole personality. ๐reloadโ reload the crash kernel image and initramfs without triggering a rebuild. no rebuild, no drama, just vibes. ๐rebuildโ rebuild the crash kernel initramfs. ๐ ๏ธpropagateโ helps to setup key authentication for ssh storage, since it's impossible to use password authentication during kdump. like, genuinely impossible, so we do keys instead. ๐โจshowmemโ prints the size of reserved memory for the crash kernel, in megabytes. ๐งฎestimateโ estimate a suitable crashkernel value for the current machine. this is a best-effort estimate. it will print a recommended crashkernel value based on the current kdump setup, and list some details of memory usage. ๐ซถget-default-crashkernelโ return the default crashkernel value provided bykdump-utils. here's your default, babes. ๐reset-crashkernel [--kernel=path_to_kernel]โ reset crashkernel to the default value recommended bykdump-utils. if no kernel is specified, will resetKDUMP_KERNELVERif it's defined in/etc/sysconfig/kdump, or the current running kernel's crashkernel value ifKDUMP_KERNELVERis empty.
you can also specify --kernel=ALL and --kernel=DEFAULT, which have the same meaning as grubby's kernel-path=ALL and kernel-path=DEFAULT. ๐
ppc64le supports FADump and supports an additional [--fadump=[on|off|nocma]] parameter to toggle FADump on/off. ๐ธ
Note: The memory requirements for kdump varies heavily depending on the used hardware and system configuration. Thus the recommended crashkernel might not work for your specific setup. Please test if kdump works after resetting the crashkernel value. โ ๏ธ
test [--force]โ test the kdump by actually trigger the system crash & dump, and check if a vmcore can really be generated successfully based on current config and environment. after system reboot back to normal, check the test result by"kdumpctl status". note, fadump is not supported. ๐ญ
if the optional parameter [--force] is provided, there will be no confirmation before triggering the system crash. dangerous though โ this option is meant for automation testing. ๐๐ฅ
setup-crypttabโ add the'link-volume-key'option to/etc/crypttabso vmcore can be saved to LUKS-encrypted disk volume. for more info onlink-volume-keyoption, please"man crypttab". ๐
this step is optional. if kdump.service can start successfully, there is no need for this step. you can confirm if this step is needed by running "kdumpctl restart". if you need to input any passpharse to unlock the the encrypted volume, then please run "kdumpctl setup-crypttab". ๐๏ธ
Note: this subcommand is only helpful to x86_64 for now. ๐
๐ฆ SEE ALSO ๐ฆ
go read those too, bestie, they're right there. ๐ซถ
and that's the whole page, periodt. ๐
this cutie came from kdump-utils, dated 2015-07-13 โ still serving looks all these years later. ๐๐ stay safe out there, and don't --force a system crash without meaning it, fr fr. ๐โจ
๐ฆ where this page comes from
- centos-stream 10: kdump-utils 1.0.61-2.el10 ยท GPL-2.0-only
- fedora 43: kdump-utils 1.0.61-1.fc43 ยท GPL-2.0-only
- fedora 44: kdump-utils 1.0.60-1.fc44 ยท GPL-2.0-only
- fedora 44: kdump-utils 1.0.61-1.fc44 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms