Petr Šabata f5bf49
.TH KDUMPCTL 8 2015-07-13 kexec-tools
Petr Šabata f5bf49
Petr Šabata f5bf49
.SH NAME
Petr Šabata f5bf49
kdumpctl \- control interface for kdump
Petr Šabata f5bf49
Petr Šabata f5bf49
.SH SYNOPSIS
Petr Šabata f5bf49
.B kdumpctl
Petr Šabata f5bf49
.I COMMAND
Petr Šabata f5bf49
Petr Šabata f5bf49
.SH DESCRIPTION
Petr Šabata f5bf49
.B kdumpctl
Petr Šabata f5bf49
is used to check or control the kdump service.
Petr Šabata f5bf49
In most cases, you should use
Petr Šabata f5bf49
.B systemctl
Petr Šabata f5bf49
to start / stop / enable kdump service instead. However,
Petr Šabata f5bf49
.B kdumpctl
Coiby Xu 0e3a77
provides more details for debugging and a helper to set up ssh key authentication.
Petr Šabata f5bf49
Petr Šabata f5bf49
.SH COMMANDS
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I start
Petr Šabata f5bf49
Start the service.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I stop
Petr Šabata f5bf49
Stop the service.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I status
Petr Šabata f5bf49
Prints the current status of kdump service.
Coiby Xu 0e3a77
It returns a non-zero value if kdump is not operational.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I restart
Petr Šabata f5bf49
Is equal to
Petr Šabata f5bf49
.I start; stop
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I reload
Coiby Xu 0e3a77
reload the crash kernel image and initramfs without triggering a rebuild.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I rebuild
Petr Šabata f5bf49
rebuild the crash kernel initramfs.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I propagate
Petr Šabata f5bf49
Helps to setup key authentication for ssh storage since it's
Petr Šabata f5bf49
impossible to use password authentication during kdump.
Petr Šabata f5bf49
.TP
Petr Šabata f5bf49
.I showmem
Coiby Xu 0e3a77
Prints the size of reserved memory for the crash kernel in megabytes.
Kairui Song a9fda5
.TP
Kairui Song a9fda5
.I estimate
Coiby Xu 0e3a77
Estimate a suitable crashkernel value for the current machine. This is a
Coiby Xu 0e3a77
best-effort estimate. It will print a recommended crashkernel value
Coiby Xu 0e3a77
based on the current kdump setup, and list some details of memory usage.
Coiby Xu 0e3a77
.TP
Coiby Xu 0e3a77
.I get-default-crashkernel
Coiby Xu 0e3a77
Return the default crashkernel value provided by kexec-tools.
Kairui Song a0fe51
.TP
Coiby Xu 3f8281
.I reset-crashkernel [--kernel=path_to_kernel] [--reboot]
Coiby Xu 3f8281
Reset crashkernel to default value recommended by kexec-tools. If no kernel
Coiby Xu 3f8281
is specified, will reset KDUMP_KERNELVER if it's defined in /etc/sysconfig/kdump
Coiby Xu 0e3a77
or the current running kernel's crashkernel value if KDUMP_KERNELVER is empty. You can
Coiby Xu 3f8281
also specify --kernel=ALL and --kernel=DEFAULT which have the same meaning as
Coiby Xu 3f8281
grubby's kernel-path=ALL and kernel-path=DEFAULT. ppc64le supports FADump and
Coiby Xu 0e3a77
supports an additional [--fadump=[on|off|nocma]] parameter to toggle FADump
Coiby Xu 3f8281
on/off.
Kairui Song a0fe51
Coiby Xu 3f8281
Note: The memory requirements for kdump varies heavily depending on the
Coiby Xu 3f8281
used hardware and system configuration. Thus the recommended
Coiby Xu 3f8281
crashkernel might not work for your specific setup. Please test if
Coiby Xu 3f8281
kdump works after resetting the crashkernel value.
Petr Šabata f5bf49
Petr Šabata f5bf49
.SH "SEE ALSO"
Petr Šabata f5bf49
.BR kdump.conf (5),
Petr Šabata f5bf49
.BR mkdumprd (8)