]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsmem: display global memmap on memory parameter
authorSumanth Korikkar <sumanthk@linux.ibm.com>
Thu, 16 Oct 2025 15:38:01 +0000 (17:38 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 7 Nov 2025 09:25:59 +0000 (10:25 +0100)
commit52491bde50e0afadc6e8d6f840ccd17bf4df62e0
treeec6d3d2ee43a83052e2d432abd07aa6adcbe71c4
parent56e2c86c2c7ea012b63cd896d9ca3daa34f19565
lsmem: display global memmap on memory parameter

Display the output of global memmap-on-memory parameter for memory
hotplug. Retrieve the details via
/sys/module/memory_hotplug/parameters/memmap_on_memory.

lsmem
RANGE                                 SIZE  STATE REMOVABLE BLOCK
0x0000000000000000-0x00000001ffffffff   8G online       yes  0-63

Memory block size:                128M
Total online memory:                8G
Total offline memory:               0B
Memmap on memory parameter:        yes

Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
sys-utils/lsmem.1.adoc
sys-utils/lsmem.c