If you are creating scripts that use ldm list command output, always use the –p option to produce the machine-readable form of the output.
To view syntax usage for all ldm subcommands, use the following command:
primary# ldm --help
For more information about the ldm subcommands, see the ldm(1M) man page.