pdcspool (Delete troubleshooting information)
Function
The pdcspool command deletes the troubleshooting information created by HiRDB in the spool ($PDDIR/spool directory) and the temporary work files created in the temporary work file storage directory ($PDDIR/tmp directory).
Executor
HiRDB administrator
Format
pdcspool [-i] [-d days] [-k type]
Options
Specifies that when a file storing troubleshooting information is to be deleted, a prompt is to be returned to the standard output device requesting confirmation that the file is to be deleted (in the case of temporary work files, the option does not return a prompt). Responding with a y to the prompt causes the file to be deleted. The default is to delete the file without generating a prompt, in which case the name of the deleted file is output to the standard output device.
This option makes files that were created 24 hours specified number of days from the time the pdcspool command was executed subject to deletion. If 10 is specified, all files created 240 or more hours before are subject to deletion.
If 0 is specified, all troubleshooting information in the spool and all temporary work files in the temporary work file storage directory are subject to deletion.
If all parameters are omitted, the troubleshooting information in the spool and the temporary work files in the temporary work file storage directory that were created 24 or more hours before are subject to deletion.
If you execute periodically commands that take a long time to execute, such as pdcopy and pdrstr, specify a value that provides sufficient time for the commands to be completed.
This option specifies the range of troubleshooting information to be deleted.
If this option is omitted, the command deletes all troubleshooting information except for the access path information. Note that you cannot specify this option for temporary work files.
Rules
Notes
Directory | Description of output file | -k option | Remarks | ||
---|---|---|---|---|---|
all | dump | Omitted | |||
pdsqldump | Access path information | Y | N | N | This is output when 1 or a greater value is specified in the PDVWOPTMODE client environment definition and then an SQL statement is executed. |
pdlckinf | Deadlock/timeout information | Y | N | Y | This is output when an error occurs during lock control. |
save | Save core file, etc. | Y | Y | Y | This is output upon abnormal termination of a process. |
pdshmdump | Shared memory dump file | Y | Y | Y | This is output upon abnormal termination of a process or a unit. |
pdsysdump(1,2) | Quick dump file | Y | Y | Y | None. |
pdsdsdump(1,2) | Y | Y | Y | This is output in a HiRDB/Single Server. | |
pdfesdump(1,2) pddicdump(1,2) pdbesdump(1,2) | Y | Y | Y | This is output in a HiRDB/Parallel Server. | |
pdjnlinf | System log file status information file | Y | N | Y | Only files beginning with pdsnap. are deleted. |
pdtrninf | Recovered transaction information file | Y | N | Y | This is output only when Real Time SAN Replication is used. |
Directory name or file name | Description of output file |
---|---|
home | Current working directory of a process where HiRDB is run |
pdommenv | Shared memory information file |
File name beginning with CMb | Differential information file for the pdbufls command |