IRTRACE is a tool for changing the trace settings and displaying the current trace setting of the precompiler runtime environment for a MaxDB application program translated with the C/C++ precompiler.
To do this, you enter commands at the operating system level. IRTRACE and the application program communicate through a shared memory segment.
If you use IRTRACE to change trace settings, the system makes an entry in the shared memory segment. The application program checks the entries in the shared memory at regular intervals, and changes its trace setting accordingly. The assignment of an application program to the correct entry in the shared memory is made using the process ID of the application program. The entry remains in the shared memory for as long as the corresponding process is active, and can be queried.
When a shared memory segment is being used, the system creates the synchronization file irtrace.shm, which the processes of the application program and IRTRACE use to access the shared memory. The system creates this release-independent file in the directory /opt/sdb/programs/wrk. In the installation, the system registers the path /opt/sdb/programs and creates the subdirectory wrk. The system also gives read and write rights to the IRTRACE tool and the application program.