summaryrefslogtreecommitdiffstats
path: root/sys-utils/lsmem.1
diff options
context:
space:
mode:
authorKarel Zak2017-11-03 10:58:33 +0100
committerKarel Zak2017-11-03 10:58:33 +0100
commit96cbe362c034305e5f12a912b4247b3321420ee7 (patch)
tree06af1d73e937eb8e5f5899472f2d147fecdc2e15 /sys-utils/lsmem.1
parentlibfdisk: Fix uninitialized structure (diff)
downloadkernel-qcow2-util-linux-96cbe362c034305e5f12a912b4247b3321420ee7.tar.gz
kernel-qcow2-util-linux-96cbe362c034305e5f12a912b4247b3321420ee7.tar.xz
kernel-qcow2-util-linux-96cbe362c034305e5f12a912b4247b3321420ee7.zip
lsmem: make --split optional, follow output by default
Let's keep lsmem backwardly compatible (<=v2.30) and create ranges according to the output columns by default. This default behavior may be modified by --split command line option. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lsmem.1')
-rw-r--r--sys-utils/lsmem.114
1 files changed, 6 insertions, 8 deletions
diff --git a/sys-utils/lsmem.1 b/sys-utils/lsmem.1
index af65c2abb..8f72bbc1e 100644
--- a/sys-utils/lsmem.1
+++ b/sys-utils/lsmem.1
@@ -16,14 +16,12 @@ Always explicitly define expected columns by using the \fB\-\-output\fR option
together with a columns list in environments where a stable output is required.
The \fBlsmem\fP command lists a new memory range always when the current memory
-block distinguish from the previous block by STATE, REMOVABLE, NODE or ZONES
-attribute. This default behavior is possible to override by the
-\fB\-\-split\fR option (e.g. \fBlsmem \-\-split=STATE,ZONES\fR). The special
-word "none" may be used to ignore all differences between memory blocks and to
-create as large as possible continuous ranges. The opposite semantic is
-\fB\-\-all\fR to list individual memory blocks. The default split policy is
-subject to change. Always explicitly use \fB\-\-split\fR in environments where
-a stable output is required.
+block distinguish from the previous block by some output column. This default
+behavior is possible to override by the \fB\-\-split\fR option (e.g. \fBlsmem
+\-\-split=ZONES\fR). The special word "none" may be used to ignore all
+differences between memory blocks and to create as large as possible continuous
+ranges. The opposite semantic is \fB\-\-all\fR to list individual memory
+blocks.
Note that some output columns may provide inaccurate information if a split policy
forces \fBlsmem\fP to ignore diffrences in some attributes. For example if you