Purpose
Stops any Unity registered process.
Syntax
PROCESS STOP [-diag] [-immediate | -timeout secs] {process_id | process_type} reason ;Parameters
- -diag
- Generates a Teradata Database system diagnostic log file before the process stops.
- -immediate
- Stops processes forcefully. Does not shut down processes cleanly.
- -timeout secs
- Cleanly shuts down processes in the number of seconds you specify (secs). If it does not exit in the indicated time, the process stops forcefully.
- processid
- Identifier assigned to a specific process.
- process type
- Type of process to be stopped:
- endpoint
- dispatcher
- sequencer
- watchdog
- reason
- The reason for stopping the process. Teradata Unity saves this message in the process log. If the <reason> contains white spaces, enclose it in double or single quotes.
Examples
Dispatcher Example
unityadmin> process stop region2_dsp_fast 'Stopping standby dispatcher';
Successfully sent stop message for process 'region2_dsp_fast'.
Watchdog Example
unityadmin> process stop -diag -immediate region1_wdg 'Stopping a watchdog';
Successfully sent stop message for process 'region1_wdg'.