![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Is there a way for force a looping detached process to "do" a process dump? I know about "SET PROCESS/DUMP", and ANALYZE/PROCESS_DUMP, but the process I want to analyze is looping, not crashing. The Answer is : There is no documented and supported way to force a process dump in another process, without requiring assistance of code executing in the context of the target process. That said, it is certainly possible to create an interprocess AST routine that causes some (kernel) code to execute in the context of the target process, and that causes the target process to dump. The (undocumented) system service SYS$SIGPRC may be of interest in this effort. SYS$SIGPRC accepts three arguments: PID, Process Name, and the Signal. If the SECURITY_POLICY parameter is set to enable it (and if the process has sufficient privileges), SYS$SIGPRC can span job trees -- if not, the call is limited to affecting processes in the same job tree. The OpenVMS Freeware V4 tool PDUMP may also be of interest.
|