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