attrlist getvalues
Returns specified attributes from an attribute list. The syntax is:
attrlist getvalues attrlist -type typename
Description The attrlist getvalues operation returns the values of all attributes of a type specified by the value of the required -type option. The value may
only be a single type, but if the attribute appears more than once in the attribute list, the value of each instance is returned on a separate line.
Privileges Required No special privileges are needed to use the attrlist getvalues command.
Examples
dcecp> attrlist getvalues {{a w x} {c y} {a z} -type a {w x} z dcecp>
This command can be used to filter the output of show operations. For example:
dcecp> attrlist getvalues [dir show /.:/hosts] -type CDS_UTS 1994-07-01-10:29:59.265-05:00I0.000/00-00-c0-f7-de-56 dcecp>
With abbreviations this could be entered as:
dcecp> at g [dir show /.:/hosts] -t CDS_UTS 1994-07-01-10:29:59.265-05:00I0.000/00-00-c0-f7-de-56 dcecp>
|