Tools And Utilities Documentation
You use TTK to suspend and resume services and programs listed in the ttchron.ini file. To manipulate an application, you must supply TTK with the tag parameter in that program’s section in ttchron.ini.
When you use TTK to suspend a process, the program remains suspended until one of the following occurs:
- You reboot the TT Gateway
- TTChron reinitializes (either by editing ttchron.ini, restarting TTChron, or using TTK to reinitialize TTChron)
- You resume the program using TTK
TTK also enables you to list and reinitialize TTChron and TTK functions.
- You use the list function to query TTChron for information about programs in rotation. TTK returns the job time schedule and job status (i.e., suspended or disabled).
- You use the reinitialize function to restart TTChron. All jobs that were suspended then resume as normal (assuming they are scheduled to do so in ttchron.ini).
You run TTK from a command window, and can access the program from any directory on the TT Gateway.
Both the ttchron.exe and ttk.exe install in the following directory:
The following command options are available for use when running TTK:
ttk [PORT] [action [definition]]
(Deprecated in Version 7.7.0)
Sets the port over which TTK communicates with TTChron. Include this parameter only if TTChron listens on a port other than 1800 (i.e., the data value of the listen_port parameter in ttchron.ini).
As of Version 7.7.0, TTK does not communicate with TTChron via a port. Therefore, TTK no longer requires the PORT command.
Sets TTK to execute a specific action. You can only include one action each time you run TTK. You can perform any of the following actions:
Defines the section(s) in ttchron.ini on whose process(es) TTK performs the specified action. You can designate sections in ttchron.ini by tag or section_name:
TTK Quick Reference
|ttk ttk -h ttk /?|
Displays TTK usage information
|ttk list||Displays ttchron.ini program information|
|ttk status TAG||Writes callstack data to a file named exchange-flavor.mdmp for processes whose TTChron sections have any of the TAG values as a data value in their tag parameter|
|ttk status section_name||Writes callstack data to a file named exchange-flavor.mdmp for all processes whose TTChron section is named section_name|
|ttk status and TAG1 TAG2||Writes callstack data to exchange‑flavor.mdmp for all processes whose sections have all TAG values included in the command line|
|ttk suspend TAG||Suspends processes whose TTChron sections have any of the specified TAG values as a value in their tag parameter.|
|ttk suspend section_name||Suspends all processes whose TTChron sections have the specified section_name.|
|ttk suspend and TAG1 TAG2||Suspends all processes whose sections have all TAG values included in the command line.|
|ttk resume TAG||Resumes all processes whose sections have TAG as a data value in the tag parameter.|
|ttk resume section_name||Resumes all processes whose TTChron sections have the specified section_name.|
|ttk resume and TAG1 TAG2||Resumes all processes whose sections have all TAG values included in the command line.|
|ttk reinit||Reinitializes TTChron|
As of Version 7.7.0, TTK does not communicate with TTChron via a port. However, older versions of TTK require users to supply a port assignment at the start of any TTK command when listening on a port other than 1800.