cancel
Showing results for 
Search instead for 
Did you mean: 

How to trace from command line and use an ini file

Support_Sydney
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 ACCEPTED SOLUTION

Accepted Solutions
Support_Sydney
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.

View solution in original post

1 REPLY 1
Support_Sydney
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.

View solution in original post