From 96cbe362c034305e5f12a912b4247b3321420ee7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 3 Nov 2017 10:58:33 +0100 Subject: 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 --- sys-utils/lsmem.1 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'sys-utils/lsmem.1') 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 -- cgit v1.2.3-55-g7522