Tracking File Attribute Differences
Use the list of commands to track file attribute differences.
Parameters
File Attribute Differences
-fileattr start
Takes a file attributes snapshot of discovered directories and stores the snapshot in the output directory. By default, the tool takes a snapshot of the Oracle Grid Infrastructure home and all installed database homes. If the user does not own a particular directory, the tool does not take a snapshot of that directory.-fileattr check
Takes a recent snapshot of discovered directories and compares it with the previous snapshot.-fileattr remove
Removes the file attribute snapshots and related files.-fileattr [start|check] -includedirdirectories
Includes the directories specified at the command line when checking file attributes.For example:
orachk -fileattr start -includedir "/root/home,/etc"orachk -fileattr check -includedir "/root/home,/etc"-fileattr [start|check] -excludediscovery
Excludes the discovered directories.For example:
orachk -fileattr start -includedir "/root/home,/etc" -excludediscovery-fileattr check -baselinebaseline_snapshot_path
Specifies the baseline snapshot to use for comparison.For example:
orachk -fileattr check -baseline "/tmp/Snapshot"-fileattr check -fileattronly
Performs the file attributes check and exits Oracle Orachk.For example:
orachk -fileattr check -fileattronly