HiRDB Datareplicator Version 8 Description, User's Guide and Operator's Guide

[Contents][Glossary][Index][Back][Next]

hdsshmclean (delete the target Datareplicator's shared resources)

Function

The hdsshmclean command deletes shared resources (processes, shared memory, semaphores) that remain when the target Datareplicator terminates abnormally. This command is only applicable to the UNIX edition. The Datareplicator administrator executes this command.

Format
hdsshmclean [ -l clean[ -q{resp|noresp}][ -w ]]

Options

-l clean
Specify this option to delete shared resources. If this option is omitted, the command only displays the remaining shared resources.

-q{resp|noresp}
Specify whether the KFRB04331-Q message is to be displayed for confirmation before the shared resources are deleted.
resp
Outputs the KFRB04331-Q message. The command deletes the shared resources only when y is entered.
noresp
Deletes the shared resources without displaying the KFRB04331-Q message.

-w
Specify this option to delay termination of this command until deletion of the shared resources has been completed. If this option is omitted, whether deletion of the shared resources has been completed when the command terminates cannot be guaranteed.

Output format
[Figure]

Explanation of the output information
No. Output information Remarks
1 Header for the resources managed by the master process --
2 Shared memory ID for process-to-process communication at the target --
3 Semaphore ID for locking target processes --
4 Process ID of import master process --
5 Process ID of activity trace collection process --
6 Process ID of communication master process (TCP/IP) --
7 Process ID of communication master process (OSI) --
8 Header for the synchronous import group resources This information is output when syncgroup001 is specified in the import system definition.
9 Shared memory ID for the synchronous import group
10 Shared memory ID for TBI list This information is output when syncgroup001 is specified in the import system definition. If there are multiple shared memories for TBI list, the items are delimited by a space.
11 Semaphore IDs for locking within a synchronous import group This information is output when syncgroup001 is specified in the import system definition.
12 Process ID of synchronization managing process
13 Resource header for each data linkage identifier --
14 Shared memory ID for storing import definition --
15 Process ID of data reception process Depending on the protocol being used, either hdstcpmst or hdsosimst is output for the process name.
16 Process ID of import definition server process --
17 Resource header for each import group Nos. 17 through 20 are output for each import group.
18 Shared memory ID for storing BLOB data --
19 Process ID of import process If the target Datareplicator was started with the startmode operand setting changed to spd in the import environment definition, the process ID used during the previous session might be displayed.
20 Process ID of import SQL process or import UOC process
Legend:
--: Not applicable

Rules

If the target Datareplicator cannot be started because there are shared resources remaining, execute the hdsstop command to delete the shared resources. Use this command if the shared resources cannot be deleted by executing the hdsstop command.