summaryrefslogtreecommitdiffstats
path: root/sys-utils/lsmem.c
diff options
context:
space:
mode:
authorKarel Zak2016-11-04 10:36:25 +0100
committerKarel Zak2016-11-09 10:02:32 +0100
commit4775cc69a7c20a905b368291370530ce329b8203 (patch)
tree0785207b5652329ce6e52ba3a049f4f6763a4212 /sys-utils/lsmem.c
parentlsmem: disable summary for JSONm, raw and export output (diff)
downloadkernel-qcow2-util-linux-4775cc69a7c20a905b368291370530ce329b8203.tar.gz
kernel-qcow2-util-linux-4775cc69a7c20a905b368291370530ce329b8203.tar.xz
kernel-qcow2-util-linux-4775cc69a7c20a905b368291370530ce329b8203.zip
lsmem: cleanup man page
* add missing new options * remove columns description (for ls-like utils we maintains columns description only in the --help output) Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lsmem.c')
-rw-r--r--sys-utils/lsmem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-utils/lsmem.c b/sys-utils/lsmem.c
index 0662bd748..3ac1fd3be 100644
--- a/sys-utils/lsmem.c
+++ b/sys-utils/lsmem.c
@@ -97,12 +97,12 @@ struct coldesc {
/* columns descriptions */
static struct coldesc coldescs[] = {
- [COL_RANGE] = { "RANGE", 0, 0, N_("adress range")},
- [COL_SIZE] = { "SIZE", 5, SCOLS_FL_RIGHT, N_("size of memory")},
- [COL_STATE] = { "STATE", 0, 0, N_("state of memory")},
+ [COL_RANGE] = { "RANGE", 0, 0, N_("start and end address of the memory range")},
+ [COL_SIZE] = { "SIZE", 5, SCOLS_FL_RIGHT, N_("size of the memory range")},
+ [COL_STATE] = { "STATE", 0, 0, N_("online status of the memory range")},
[COL_REMOVABLE] = { "REMOVABLE", 0, SCOLS_FL_RIGHT, N_("memory is removable")},
- [COL_BLOCK] = { "BLOCK", 0, SCOLS_FL_RIGHT, N_("memory block")},
- [COL_NODE] = { "NODE", 0, SCOLS_FL_RIGHT, N_("node information")},
+ [COL_BLOCK] = { "BLOCK", 0, SCOLS_FL_RIGHT, N_("memory block number or blocks range")},
+ [COL_NODE] = { "NODE", 0, SCOLS_FL_RIGHT, N_("numa node of memory")},
};
/* columns[] array specifies all currently wanted output column. The columns