Scroll to navigation

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

Start and end address of the memory range.
Size of the memory range in MB (1024 x 1024 bytes).
Indication of the online status of the memory range. State on->off means that the address range is in transition from online to offline.
"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 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

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

SEE ALSO

chmem(8)

Apr 2010 s390-tools