[PATCH 1/2] supplement the description of option --mem-usage

Baoquan He bhe at redhat.com
Wed Sep 3 02:13:07 PDT 2014


For now option --mem-usage is only used for x86-64, so supplement the
description in man page and help message.

Signed-off-by: Baoquan He <bhe at redhat.com>
---
 makedumpfile.8 | 1 +
 print_info.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/makedumpfile.8 b/makedumpfile.8
index e6a2dac..0211cd9 100644
--- a/makedumpfile.8
+++ b/makedumpfile.8
@@ -536,6 +536,7 @@ it is necessary to specfiy [\-x \fIVMLINUX\fR] or [\-i \fIVMCOREINFO\fR].
 
 .TP
 \fB\-\-mem-usage\fR
+This option is only for x86_64.
 This option is used to show the page numbers of current system in different
 use. It should be executed in 1st kernel. By the help of this, user can know
 how many pages is dumpable when different dump_level is specified. It analyzes
diff --git a/print_info.c b/print_info.c
index a1232f4..f6342d3 100644
--- a/print_info.c
+++ b/print_info.c
@@ -268,6 +268,7 @@ print_usage(void)
 	MSG("      necessary to specfiy [-x VMLINUX] or [-i VMCOREINFO].\n");
 	MSG("\n");
 	MSG("  [--mem-usage]:\n");
+	MSG("      This option is only for x86_64.\n");
 	MSG("      This option is used to show the page numbers of current system in different\n");
 	MSG("      use. It should be executed in 1st kernel. By the help of this, user can know\n");
 	MSG("      how many pages is dumpable when different dump_level is specified. It analyzes\n");
-- 
1.8.5.3




More information about the kexec mailing list