Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

-test

A -test option has been added to the ctutil command to check the configuration and connections to servers. This option can be used to check the configuration and, optionally, the connection to servers. The syntax is:

ctutil -test [config | connect]

where config and connect are optional.

  • Running ctutil -test with no option, or with the config option, checks the configuration.
  • Running ctutil -test connect checks that all servers defined in the configuration (with the <instance server> attribute) are reachable.
  • Running ctutil -test filerules will print the file rules in the order they will be considered by c-treeRTG at runtime when matching a filename:

ctutil -test filerules

Initialized from (ctree.conf)

<file name="*" dir="mydir" casesensitive="yes" type="*"/>

<file name="myfil" dir="*" casesensitive="yes" type="*"/>

<file name="*" dir="*" casesensitive="yes" priority="-32767" type="*"/>

Operation completed successfully.

TOCIndex