aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiezhu Yang <[email protected]>2022-03-23 23:06:48 +0000
committerLinus Torvalds <[email protected]>2022-03-24 02:00:34 +0000
commitae6694c1aa8f97c20b448622e4d6ba9adeca082d (patch)
treefecc9b0ba1b3e07a15e31251398c7c9c21ba09ed
parentdocs: kdump: update description about sysfs file system support (diff)
downloadkernel-ae6694c1aa8f97c20b448622e4d6ba9adeca082d.tar.gz
kernel-ae6694c1aa8f97c20b448622e4d6ba9adeca082d.zip
docs: kdump: add scp example to write out the dump file
Except cp and makedumpfile, add scp example to write out the dump file. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Tiezhu Yang <[email protected]> Acked-by: Baoquan He <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Marco Elver <[email protected]> Cc: Xuefeng Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--Documentation/admin-guide/kdump/kdump.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kdump/kdump.rst b/Documentation/admin-guide/kdump/kdump.rst
index d187df2f76ae..a748e7eb4429 100644
--- a/Documentation/admin-guide/kdump/kdump.rst
+++ b/Documentation/admin-guide/kdump/kdump.rst
@@ -533,6 +533,10 @@ the following command::
cp /proc/vmcore <dump-file>
+or use scp to write out the dump file between hosts on a network, e.g::
+
+ scp /proc/vmcore remote_username@remote_ip:<dump-file>
+
You can also use makedumpfile utility to write out the dump file
with specified options to filter out unwanted contents, e.g::