Scroll to navigation

CXL-LIST(1) cxl Manual CXL-LIST(1)


cxl-list - List CXL capable memory devices, and their attributes in json.


cxl list [<options>]

Walk the CXL capable device hierarchy in the system and list all device instances along with some of their major attributes.


# cxl list --memdevs

"ram_size":0, }


-m, --memdev=

Specify a cxl memory device name to filter the listing. For example:

# cxl list --memdev=mem0

"ram_size":0, }

-M, --memdevs

Include CXL memory devices in the listing

-i, --idle

Include idle (not enabled / zero-sized) devices in the listing

-H, --health

Include health information in the memdev listing. Example listing:

# cxl list -m mem0 -H

} ]

-u, --human

By default the command will output machine-friendly raw-integer data. Instead, with this flag, numbers representing storage size will be formatted as human readable strings with units, other fields are converted to hexadecimal strings.

-v, --verbose

Emit more debug messages


Copyright © 2016 - 2020, Intel Corporation. License GPLv2: GNU GPL version 2 <>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.



2022-04-08 cxl