You use the ldm list-o command to determine whether a domain is configured with CPU whole cores and how to list the CPU cores that are assigned to a domain.
To determine whether the domain is configured with CPU whole cores:
primary# ldm list -o resmgmt domain-name
Verify that the whole-core constraint appears in the output and that the max-cores property specifies the maximum number of CPU cores that are configured for the domain. See the ldm(1M) man page.
The following command shows that the ldg1 domain is configured with CPU whole cores and a maximum of five cores:
primary# ldm list -o resmgmt ldg1 NAME ldg1 CONSTRAINT whole-core max-cores=5
When a domain is bound, CPU cores are assigned to the domain. To list the CPU cores that are assigned to a domain:
primary# ldm list -o core domain-name
The following command shows the cores that are assigned to the ldg1 domain:
primary# ldm list -o core ldg1 NAME ldg1 CORE CID PCPUSET 1 (8, 9, 10, 11, 12, 13, 14, 15) 2 (16, 17, 18, 19, 20, 21, 22, 23)