LSMEM - Online Linux Manual PageSection : 1
Updated : 2022-05-11
Source : util−linux 2.38.1
Note : User Commands
ß.nh . am URL . . . am MTO . . . LINKSTYLE blue R < >
NAMElsmem − list the ranges of available memory with their online status
SYNOPSISlsmem [options]
DESCRIPTIONThe lsmem command lists the ranges of available memory with their online status. The listed memory blocks correspond to the memory block representation in sysfs. The command also shows the memory block size and the amount of memory in online and offline state. The default output is compatible with original implementation from s390−tools, but it’s strongly recommended to avoid using default outputs in your scripts. Always explicitly define expected columns by using the −−output option together with a columns list in environments where a stable output is required. The lsmem command lists a new memory range always when the current memory block distinguish from the previous block by some output column. This default behavior is possible to override by the −−split option (e.g., lsmem −−split=ZONES). 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 −−all to list individual memory blocks. Note that some output columns may provide inaccurate information if a split policy forces lsmem to ignore differences in some attributes. For example if you merge removable and non−removable memory blocks to the one range than all the range will be marked as non−removable on lsmem output. Not all columns are supported on all systems. If an unsupported column is specified, lsmem prints the column but does not provide any data for it. Use the −−help option to see the columns description.
OPTIONS−a, −−all List each individual memory block, instead of combining memory blocks with similar attributes. −b, −−bytes Print the sizes in bytes rather than in a human−readable format. By default, the unit, sizes are expressed in, is byte, and unit prefixes are in power of 2^10 (1024). Abbreviations of symbols are exhibited truncated in order to reach a better readability, by exhibiting alone the first letter of them; examples: "1 KiB" and "1 MiB" are respectively exhibited as "1 K" and "1 M", then omitting on purpose the mention "iB", which is part of these abbreviations. −J, −−json Use JSON output format. −n, −−noheadings Do not print a header line. −o, −−output list Specify which output columns to print. Use −−help to get a list of all supported columns. The default list of columns may be extended if list is specified in the format +list (e.g., lsmem −o +NODE). −−output−all Output all available columns. −P, −−pairs Produce output in the form of key="value" pairs. All potentially unsafe value characters are hex−escaped (\x<code>). −r, −−raw Produce output in raw format. All potentially unsafe characters are hex−escaped (\x<code>). −S, −−split list Specify which columns (attributes) use to split memory blocks to ranges. The supported columns are STATE, REMOVABLE, NODE and ZONES, or "none". The other columns are silently ignored. For more details see DESCRIPTION above. −s, −−sysroot directory Gather memory data for a Linux instance other than the instance from which the lsmem command is issued. The specified directory is the system root of the Linux instance to be inspected. −h, −−help Display help text and exit. −V, −−version Print version and exit. −−summary[=when] This option controls summary lines output. The optional argument when can be never, always or only. If the when argument is omitted, it defaults to "only". The summary output is suppressed for −−raw, −−pairs and −−json.
AUTHORSlsmem was originally written by Gerald Schaefer for s390−tools in Perl. The C version for util−linux was written by Clemens von Mann, Heiko Carstens and Karel Zak.
SEE ALSOchmem(8)
REPORTING BUGSFor bug reports, use the issue tracker at <https://github.com/util−linux/util−linux/issues>.
AVAILABILITYThe lsmem command is part of the util−linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util−linux/>. 0
Johanes Gumabo
Data Size : 16,472 byte
man-lsmem.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 236,743
Visitor ID : :
Visitor IP : 18.221.160.29 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_nr_xxx|123|lsmem.1|13|\n[.ss] 0 |.ss \n[.ss] 0
) (parse_manual_page_|249|lsmem.1|22|am|. am URL
) (parse_manual_page_|249|lsmem.1|24|.|. .
) (parse_manual_page_|249|lsmem.1|25|am|. am MTO
) (parse_manual_page_|249|lsmem.1|27|.|. .
) (parse_manual_page_|249|lsmem.1|28|LINKSTYLE|. LINKSTYLE blue R < >
)