Network Config   «Prev  Next»

Lesson 7Using the Connection Manager Control Utility (CMCTL)
Objective Use CMCTL to start and control Oracle Connection Manager.

Using Connection Manager Control Utility (CMCTL)

The Connection Manager Control Utility, or CMCTL, is a tool that you run from the operating system prompt to start and control Oracle Connection Manager. View the legacy code below to see an example.
dilbert> cmctl

CMCTL for IBM/AIX RISC System/6000: 
Version 8.0.5.0.0 - Production on 25-MAR-99 
15:23:40

(c) Copyright 2007 Oracle Corporation. All rights reserved.

CMCTL>

You can also issue CMCTL commands at the program prompt. When you enter CMCTL on the command line, the program is opened. You can then enter the desired commands.
View the code below to see an example.
dilbert> cmctl help

CMCTL for IBM/AIX RISC System/6000: Version 8.0.5.0.0 - 
Production on 25-MAR-2019 15:26:51

(c) Copyright 2019 Oracle Corporation.  All rights reserved.

 CMCTL usage: [cmctl] < command> <process_name > [argument]
   where < command > is one of following: 
          * start - start up process_name
          * stop - stop the process_name
          * status - get status from the process_name
          * stats - get statistics from the process_name
          * version - ask version number of CMCTL control program
          * exit  - quit the CMCTL control program

          process_name is one of cman, cm process or adm process
          * cman - will ask the Connection Manager (both cman and adm)
          * cm - will ask the Connection Manager process only
          * adm - will ask the Connection Manager Admin process only

Now, from the cmctl prompt, you can enter the help command to see all of the available commands.
In the next lesson, you will learn the commands that are used to start and stop the Connection Manager.