pditvstop (Stop periodic acquisition of HiRDB status)
Function
The pditvstop command stops a command that was started by the pditvtrc command.
Executor
Any user (with or without privileges)
Format
pditvstop output-file-prefix |
Command arguments
Specifies the prefix of the output file that was specified in a pditvtrc command.
Rules
- The pditvstop command can be executed at any time, whether or not HiRDB is active.
- Execute the pditvstop command from the server machine that was used to execute the pditvtrc command that is to be stopped.
- If you cannot execute the pditvstop command for some reason, such as that output-file-prefix.lck or output-file-prefix.pid has been deleted, use the ps command to check the PID and then use kill PID(kill -TERM PID).
- The output file prefix is part of the output file path used in the pditvtrc command. The pditvstop command accepts both absolute and relative path names, regardless of the output file prefix specified in the pditvtrc command (absolute or relative path name).
Notes
- The following shows the pditvstop command's return codes:
0: Normal termination
1: One of the following meanings:
- The locked directory output-file-prefix.lck was not found.
- output-file-prefix.lck or output-file-prefix.pid was not found.
- output-file-prefix.lck or output-file-prefix.pid was found, but the process was not found.