cancel
Showing results for 
Search instead for 
Did you mean: 

How to trace from command line and use an ini file

Anon
Community Manager

How to trace from command line and use an ini file

Description: 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. 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 -i

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.