Man pages sections > man8 > lsmem

lsmem - list the ranges of available memory with their online status.

LSMEM(8) System Manager's Manual LSMEM(8)

NAME

lsmem - list the ranges of available memory with their online status.

SYNOPSIS

lsmem [OPTIONS]

DESCRIPTION

The 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, the device size, and the amount of memory in online and offline state.

Column description

Address Range
Start and end address of the memory range.
Size
Size of the memory range in MB (1024 x 1024 bytes).
State
Indication of the online status of the memory range. State on->off means that the address range is in transition from online to offline.
Removable
"yes" if the memory range can be set offline, "no" if it cannot be set offline. A dash ("-") means that the range is already offline.
Device
Device number or numbers that correspond to the memory range.
 
Each device represents a memory unit for the hypervisor in control of the memory. The hypervisor cannot reuse a memory unit unless the corresponding memory range is completely offline. For best memory utilization, each device should either be completely online or completely offline.
 
The chmem command with the size parameter automatically chooses the best suited device or devices when setting memory online or offline. The device size depends on the hypervisor and on the amount of total online and offline memory.

OPTIONS

-a, --all
List each individual memory block, instead of combining memory blocks with similar attributes.
-h, --help
Print a short help text, then exit.
-v, --version
Print the version number, then exit.

SEE ALSO

chmem(8)
Apr 2010 s390-tools