Using the NIM showres operation
Use the showres operation to display the contents of a resource.
The contents displayed will be appropriate for the type of resource on which the operation is run.
The command line syntax for the showres operation
is as follows:
nim -o showres -a Attribute=Value ... TargetName
The target of a showres operation may be a SPOT, lpp_source, script, bosinst_data, image_data, installp_bundle, fix_bundle, resolv_conf, exclude_files, adapter_def, or a live_update_data resource.
The following are optional attributes that
can be specified for the showres operation:
- -a client=Value
- Specifies which client's secondary adapter configuration file is displayed from an adapter_def resource. This attribute is only applicable when the target of the operation is an adapter_def resource.
- -a filesets=Value
- Specifies a list of filesets for which information should be displayed. This attribute is only applicable to lpp_source and SPOT targets.
- -a installp_flags=Value
- Specifies flags that tell the installp command how to format the display of filesets. This attribute is only applicable to lpp_source and SPOT targets.
- -a instfix_flags=Value
- Specifies flags that tell the instfix command how to format the display of fixes. This attribute is only applicable to lpp_source targets.
- -a lslpp_flags=Value
- Specifies flags that tell the lslpp command how to format the display of installed software. This attribute is only applicable to SPOT targets.
- -a reference=Value
- Specifies a reference machine or SPOT resource for fileset comparison. This attribute is only applicable when the target of the operation is an lpp_source. Available filesets in the lpp_source are compared against installed filesets in the reference machine or SPOT. If the showres operation is performed from a NIM client, the reference attribute is automatically set to the name of the client.
- -a resource=Value
- Specifies the name of the resource whose contents should be displayed. This attribute is only necessary when the showres operation is performed from a NIM client.
- -a sm_inst_flags=Value
- Specifies flags that tell the sm_inst command how to format the display of filesets. This attribute is only applicable to lpp_source and SPOT targets. This attribute must be used in conjunction with the reference attribute and is normally used only within the SMIT application.
Note: There are no required attributes for the showres operation.
- When the target of the showres operation is a SPOT, the list of filesets installed in the SPOT is displayed.
- When the target of the showres operation is an lpp_source, the list of filesets contained in the lpp_source is displayed.
- For all other resources that are valid targets for the showres operation, the character contents of the files are displayed.