Wednesday, March 5, 2014

ocrdump



The ocrdump utility can be used to view the OCR content for troubleshooting. The ocrdump utility enables you to view logical information by writing the contents to a file or displaying the contents to stdout in a readable format. 

If the ocrdump command is issued without any options, the default file name of OCRDUMPFILE will be written to the current directory, provided that the directory is writable. The information contained within the OCR is organized by keys that are associated with privileges. Therefore, the root user will not see the same results as the clusterware owner.


  •      To dump the OCR contents into a text file for reading:

      $ ocrdump file.txt
      # ocrdump file.txt

  •      To dump the OCR contents for a specific key:

      # ocrdump –keyname SYSTEM.language

  •      To dump the OCR contents to stdout in XML format:

      # ocrdump –stdout -xml

  •      To dump the contents of an OCR backup file:

      # ocrdump –backupfile file.ocr

No comments:

Post a Comment