To get information about all of the event management objects in the SDR, you can issue the SDRGetObjects command for each class of objects. You can also direct the output to a file, which you can then view or print. To do this, enter the following commands:
SDRGetObjects -G EM_Resource_Variable > rv_data SDRGetObjects -G EM_Resource_Class > class_data SDRGetObjects -G EM_Structured_Byte_String > sbs_data SDRGetObjects -G EM_Instance_Vector > iv_data SDRGetObjects -G EM_Resource_Monitor > rm_data
Specifying the -G flag ensures that you receive information about all of the resource variables in all of the system partitions in the SP system. If you are only interested in the resource variables in the current system partition, omit the -G flag.
Figure 46 contains an example of the output of each SDRGetObjects command for the IBM.PSSP.SP_HW.Node.lcd1 resource variable and its associated resource class, structured byte string, instance vector, and resource monitor definitions. For ease of presentation, the output has been reformatted vertically. The actual output of the command is horizontally formatted.
For a complete description of the attributes of Event Management SDR classes, see RSCT: Event Management Programming Guide and Reference.
You can also restrict the information you receive. For example, to get only the rvName and rvClass information for the IBM.PSSP.SP_HW.Node.lcd1 resource variable, enter:
SDRGetObjects -G EM_Resource_Variable \ rvName==IBM.PSSP.SP_HW.Node.lcd1 rvName rvClass
In response, the system displays:
rvName rvClass IBM.PSSP.SP_HW.Node.lcd1 IBM.PSSP.SP_HW
For more information about the SDRGetObjects command, see PSSP Command and Technical Reference.
Figure 46. Sample output from PSSP SDRGetObjects commands
Information from EM_Resource_Variable class for resource variable
IBM.PSSP.SP_HW.Node.lcd1:
rvName IBM.PSSP.SP_HW.Node.lcd1 rvDescription 244 rvValue_type State rvData_type SBS rvInitial_value 0 rvClass IBM.PSSP.SP_HW rvPTX_name "" rvPTX_description "" rvPTX_min "" rvPTX_max "" rvPredicate "" rvEvent_description "" rvLocator "" rvOrder_group "" rvDynamic_instance 0 rvIndex_vector NodeNum
Information from EM_Resource_Class class for resource class
IBM.PSSP.SP_HW:
rcClass IBM.PSSP.SP_HW rcResource_monitor IBM.PSSP.hmrmd rcObservation_interval 0 rcReporting_interval 0
Information from EM_Structured_Byte_String class for resource
variable IBM.PSSP.SP_HW.Node.lcd1:
sbsVariable_name IBM.PSSP.SP_HW.Node.lcd1 sbsField_name STRING sbsField_type cstring sbsField_SN 0 sbsField_init_val ""
Information from EM_Instance_Vector class for resource name
IBM.PSSP.SP_HW.Node:
ivResource_name IBM.PSSP.SP_HW.Node ivElement_name NodeNum ivElement_description 256
Information from EM_Resource_Monitor class for resource monitor
IBM.PSSP.hmrmd:
rmName IBM.PSSP.hmrmd rmPath /usr/lpp/ssp/bin/haemRM/hmrmd rmArguments IBM.PSSP.hmrmd rmMessage_file hmrmd_des.cat rmMessage_set 1 rmConnect_type server rmPTX_prefix 0 rmPTX_description 0 rmPTX_asnno 0