commands.sh

lsmem

linux

List the characteristics of the system's memory, including size and type of memory modules.

More info →

Options (2)

-J, --jsonboolean

List memory information in JSON format

Example: lsmem {{[-J|--json]}}
-b, --bytesboolean

List memory information with size in bytes

Example: lsmem {{[-b|--bytes]}}

Examples (3)

List memory information

List memory information in JSON format

lsmem [-J|--json]

List memory information with size in bytes

lsmem [-b|--bytes]
made by @shridhargupta | data from tldr-pages