Chapter 7. Command-Line Scripts286For more information on the ldapsearch command-line utility, see Section 6.8, “ldif”.7.3.11. repl-monitor (Monitors Replication Status)Shows in-progress status of replication. repl-monitor is a shell script wrapper of repl-monitor.pl to set the appropriate library path.For more information on the Perl script, see Section 7.4.17, “repl-monitor.pl (Monitors ReplicationStatus)”.Syntaxrepl-monitor [ -h host ] [ -p port ] [ -f configFile ] [ -u refreshUrl ] [ -t refreshInterval ][ -r ] [ -v ]OptionsOption Description-h host Specifies the initial replication supplier's host.The default value is the current hostname.-f configFile Specifies the absolute path to the configurationfile, which defines the connection parametersused to connect to LDAP servers to getreplication information. For more informationabout the configuration file, see ConfigurationFile Format.-p port Specifies the initial replication supplier's port. Thedefault value is 389.-r If specified, causes the routine to be enteredwithout printing the HTML header information.This is suitable when making multiple calls to thisroutine — such as specifying multiple, different,unrelated supplier servers — and expecting asingle HTML output.-t refreshInterval Specifies the refresh interval in seconds. Thedefault value is 300 seconds. This option mustbe used with the -u option.-u refreshUrl Specifies the refresh URL. The output HTML filemay invoke a CGI program periodically. If thisCGI program in turn calls this script, the effectis that the output HTML file would automaticallyrefresh itself. This is useful for continuousmonitoring. See also the -t option. The scripthas been integrated into Red Hat AdministrationExpress, so that the replication status can bemonitored through a web browser.-v Prints the version of this script.Table 7.11. repl-monitor Options