"Fossies" - the Fresh Open Source Software Archive

Member "opensaf-5.21.09/src/imm/README.RESOURCE_DISPLAY" (31 May 2021, 4279 Bytes) of package /linux/misc/opensaf-5.21.09.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 The enhancement dumps IMMsv resource utilization data using a specialIMM Admin Operation.
    2 The IMM AdminOperation must be directed to the immsv object:
    3 
    4     opensafImm=opensafImm,safApp=safImmService. 
    5 
    6 PBE is the normally implementer for that object (when PBE is enabled).
    7 The display admin operation request reaches the PBE and if the requested resource
    8 is a PBE resource the PBE replies with an extended adminoperation resut having 
    9 resource name as return parameter-name. 
   10 
   11 The reply from PBE is intercepted by the IMMND and display requests for resources
   12 in the IMMND are then appended. Currently this will be the IMMND colocated with the client
   13 invoking the request. In  he future, displayin resources of remote IMMNDs should be
   14 supported. 
   15 
   16 This special admin-operation works with PBE disabled also, but can then not display
   17 resource utilization for the PBE, only for the IMMND.
   18 
   19 A new immutil API immutil_saImmOiAdminOperationResult_o2 has been added that copes
   20 with returning extended results. 
   21 
   22 Presently two modes for dumping resource utilization is supported:
   23 --------------------------------------------------------------------
   24 (1) Terse.
   25 display -- returns the terse output for the requested resource. The current 'count'
   26 of the instances of the requested resource will be returned.
   27 
   28 The supported resource are currently:
   29 
   30     implementers
   31     adminowners
   32     ccbs
   33     searches.
   34 
   35 Eg:
   36 
   37 immadm -O display -p resource:SA_STRING_T:implementers \
   38   opensafImm=opensafImm,safApp=safImmService
   39 
   40 Name                                               Type         Value(s)
   41 ========================================================================
   42 count                                              SA_INT64_T   13 (0xd)
   43 
   44 
   45 --------------------------------------------------------------------
   46 displayverbose -- returns the verbose output for the requested resource.
   47 The verbose output is currently supported only for the resources: implementers
   48 and adminowners. If the number of resource is greater than 127 then the verbose
   49 output is displayed to syslog.
   50 
   51 Eg: 
   52 
   53 immadm -O displayverbose -p resource:SA_STRING_T:implementers \
   54   opensafImm=opensafImm,safApp=safImmService 
   55 
   56 [using admin-owner: 'safImmService']
   57 Object: opensafImm=opensafImm,safApp=safImmService
   58 Name                                               Type         Value(s)
   59 ========================================================================
   60 safLogService                                      SA_INT64_T   131343 (0x2010f)
   61 safClmService                                      SA_INT64_T   131343 (0x2010f)
   62 @safAmfService2020f                                SA_INT64_T   131599 (0x2020f)
   63 safAmfService                                      SA_INT64_T   131343 (0x2010f)
   64 OpenSafImmPBE                                      SA_INT64_T   131343 (0x2010f)
   65 MsgQueueService131343                              SA_INT64_T   131343 (0x2010f)
   66 safMsgGrpService                                   SA_INT64_T   131343 (0x2010f)
   67 safCheckPointService                               SA_INT64_T   131343 (0x2010f)
   68 safEvtService                                      SA_INT64_T   131343 (0x2010f)
   69 safLckService                                      SA_INT64_T   131343 (0x2010f)
   70 safSmfService                                      SA_INT64_T   131343 (0x2010f)
   71 MsgQueueService131855                              SA_INT64_T   131855 (0x2030f)
   72 MsgQueueService131599                              SA_INT64_T   131599 (0x2020f)
   73 
   74 
   75 If the operationName display-help is used, the return parameters will contain
   76 the currently supported resources for display.
   77 
   78 Eg: 
   79 
   80 immadm -O display-help opensafImm=opensafImm,safApp=safImmService
   81 [using admin-owner: 'safImmService'] Object:
   82 opensafImm=opensafImm,safApp=safImmService 
   83 [using admin-owner: 'safImmService']
   84 Object: opensafImm=opensafImm,safApp=safImmService
   85 Name                                               Type         Value(s)
   86 ========================================================================
   87 supportedResources                                 SA_STRING_T  implementers
   88 supportedResources                                 SA_STRING_T  adminowners
   89 supportedResources                                 SA_STRING_T  ccbs
   90 supportedResources                                 SA_STRING_T  searches
   91 
   92