Gateway daemon administration tasks include starting and stopping, tracing, displaying statistics and obtaining JVM dumps.
Use the ctgadmin command to administer the Gateway daemon. Issue the command from a command prompt. See ctgadmin command reference for more information.
You can run the ctgadmin command from a script, and check the results programmatically. See Return codes from the ctgadmin command for details of return codes used by the ctgadmin command.