cancel
Showing results for 
Search instead for 
Did you mean: 

How to trace from command line and use an ini file

Highlighted
Moderator

How to trace from command line and use an ini file

Some trace settings like ShowCpuTime=Y might need to be part of your trace but you still do not want to restart the collector for tracing.

1 REPLY 1
Moderator

Re: How to trace from command line and use an ini file

Some trace settings like ShowCpuTime=Y might need to be part of your trace but you still do not want to restart the collector for tracing.

 

Solution:

By using a combination of configuring the trace settings in the ini and using the command line irtrace command, you can accomplish this.

Steps:
1. Make a copy of the ini file (And keep it in the same location) and configure your trace settings to the copy
i.e. irdllcol.ini to irdllcolt.ini
Note: Be sure to change the logfilename in the copy too

2. Run the command from the Prognosis\Server\Configuration directory:
..\irtrace -s irdllcol -i irdllcolt.ini

Syntax = ..\irtrace -s <symbolic name> -i <ini file name>

3. To turn off the tracing just run the shorter command:
..\irtrace -s irdllcol

Everything including wrap settings and output file name are pulled from the custom ini file.

Blog: What Optimal Transaction Performance Means

A number of our customers use Prognosis to monitor the health of their payment systems. As part of this, they monitor the transactions flowing through the system ...

Read blog
Top Liked Members