ctmdbspace

The ctmdbspace utility checks the data and log usage in the Control-M/Server database and displays the usage. The utility returns a failed status if the usage exceeds the specified limit.

ctmdbspace can be included in the Control-M Watchdog process.

For more information, see Watchdog process parameters.

Running the ctmdbspace Utility

This procedure describes how to run the ctmdbspace utility, which checks the data and log usage in the Control-M/Server database and displays the usage.

Begin

  1. Do one of the following:

    • UNIX: Log in to a Control-M/Server account

    • Windows: Open a command prompt window where Control-M/Server is installed.

  2. Enter the following command:

    ctmdbspace -limit <amount> [-quiet]

    The <amount> variable is the maximum amount (percentage) of data and log usage in the database. Use the optional -quiet parameter to suppress the display.

    The following command returns a "failed" status if Control-M/Server database usage is more than 50%:

    ctmdbspace -limit 50%