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
db7d74
provides more details for debug and a helper to setup 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.
db7d74
It returns 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
db7d74
reload 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
db7d74
Prints the size of reserved memory for crash kernel in megabytes.
db7d74
.TP
db7d74
.I estimate
db7d74
Estimate a suitable crashkernel value for current machine. This is a
db7d74
best-effort estimate. It will print a recommanded crashkernel value
db7d74
based on current kdump setup, and list some details of memory usage.
db7d74
.TP
db7d74
.I reset-crashkernel [KERNEL]
db7d74
Reset crashkernel value to default value. kdumpctl will try to read
db7d74
from /usr/lib/modules/<KERNEL>/crashkernel.default and reset specified
db7d74
kernel's crashkernel cmdline value. If no kernel is
db7d74
specified, will reset current running kernel's crashkernel value.
db7d74
If /usr/lib/modules/<KERNEL>/crashkernel.default doesn't exist, will
db7d74
simply exit return 1.
db7d74
db7d74
db7d74
.SH "SEE ALSO"
db7d74
.BR kdump.conf (5),
db7d74
.BR mkdumprd (8)