How to find the memory on a Solaris system hosting primary and guest LDOMs
For capacity planning, it is useful to know how much free resource is available on a given LDOM server. That is, a “parent” system hosting several guest LDOMs. For example, if you want to know how many more LDOM’s the server could support.
Log in to the primary LDOM and type ptrconf -v, or any of the usual commands to see memory, and all you get back is the memory assigned to the primary LDOM. Not useful. To get the memory of the whole box, use this instead:
# ldm list-devices
which will show all memory and CPUs on the box that are not in use by LDOMs. Supply -a” to the command, and all resources are shown, used and free.