User's Manual

Using the iDRAC SM-CLP Command Line Interface 179
Using the -display Option
The show –display option allows you to limit the output of the command to
one or more of properties, targets, and verbs. For example, to display just the
properties and targets at the current location, use the following command:
show -d properties,targets /system1/sp1/account1
To list only certain properties, qualify them, as in the following command:
show -d properties=(userid,username)
/system1/sp1/account1
If you only want to show one property, you can omit the parentheses.
Using the -level Option
The show -level option executes show over additional levels beneath the
specified target. For example, if you want to see the username and userid
properties of the account1 through account16 targets beneath /system1/sp1,
you could enter the following command:
show -l 1 -d properties=(userid,username)
/system1/sp1/account*
To see all targets and properties in the address space, use the -l all option, as
in the following command:
show -l all -d properties /
Using the -output Option
The -output option specifies one of four formats for the output of SM-CLP
verbs: text, clpcsv, keyword, and clpxml.
The default format is text, and is the most readable output. The clpcsv
format is a comma-separated values format suitable for loading into a
spreadsheet program. The keyword format outputs information as a list of
keyword=value pairs one per line. The clpxml format is an XML document
containing a response XML element. The DMTF has specified the clpcsv and
clpxml formats and their specifications can be found on the DMTF website
at
www.dmtf.org.
The following example shows how to output the contents of the SEL in XML:
show -l all -output format=clpxml /system1/sp1/logs1