See Start a Host.
# ldm list-rsrc-group -l
The following example for a SPARC M8 server shows the cores assigned to the primary domain before any logical domains have been created. The output has been edited for clarity.
# ldm ls-rsrc-group -l NAME CORE MEMORY IO /SYS/CMIOU0 32 128G 5 CORE CID BOUND 0, 1, 2, 3, 8, 9, 10, 11 primary 16, 17, 18, 19, 24, 25, 26, 27 primary 32, 33, 34, 35, 40, 41, 42, 43 primary 48, 49, 50, 51, 56, 57, 58, 59 primary ... ------------------------------------------------------------------------------ NAME CORE MEMORY IO /SYS/CMIOU1 32 128G 5 CORE CID BOUND 64, 65, 66, 67, 72, 73, 74, 75 primary 80, 81, 82, 83, 88, 89, 90, 91 primary 96, 97, 98, 99, 104, 105, 106, 107 primary 112, 113, 114, 115, 120, 121, 122, 123 primary ...
The following example for a SPARC M7 server shows the cores assigned to the primary domain and two guest domains, ldm0 and ldm1:
# ldm list-rsrc-group -l NAME CORE MEMORY IO /SYS/CMIOU0 24 128G 4 CORE CID BOUND 0, 1 primary 2, 3, 8, 9, 10, 11, 16, 17 ldom0 18, 19, 24, 25, 26, 27, 32, 33 ldom0 34, 35, 40, 41, 42, 43 ldom0 ... ------------------------------------------------------------------------------ NAME CORE MEMORY IO /SYS/CMIOU1 24 64G 4 CORE CID BOUND 64, 65, 66, 67, 72, 73, 74, 75 ldom1 80, 81, 82, 83, 88, 89, 90, 91 ldom1 112, 113, 114, 115, 120, 121, 122, 123 ldom1 ... #
The IO column shows 5 for the SPARC M8 server and 4 for the SPARC M7 server because the eUSB device is attached to the root complex of the M8 CMIOUs.