SysTutorials

Linux Manual Pages › Section 8

opafmconfigdiff(8)

opafmconfigdiff

Performs a file difference between two configuration files corresponding to two FM instances described by file1 and file2.

Syntax

opafmconfigdiff [-f] [-l] [-d ‘diff_args’] file1 file2

Options

--help
Produces full help text.
-f
Filters out FM parameters that are not part of the consistency check. Removes config tags that do not cause consistency checks on the FM to fail from diff.
-l
Includes comments in XML to indicate original line numbers.
-d 'diff_args'
Specifies additional arguments to add to diff command. For example, enter uw for unified format ignoring whitespace.
 file1 file2 
Names of the configuration files to be compared.

Example

opafmconfigdiff /etc/sysconfig/opafm.xml /usr/lib/opa-fm/etc/opafm.xml opafmconfigdiff -f /etc/sysconfig/opafm.xml /usr/lib/opa-fm/etc/opafm.xml opafmconfigdiff #8217#8211;d -uw /etc/sysconfig/opafm.xml /usr/lib/opa-fm/etc/ opafm.xml