cancel
Showing results for 
Search instead for 
Did you mean: 

Forgot to shut off st05 or st01 trace - how to detect

former_member197700
Participant
0 Kudos

We have administrators turn on an st05 trace or an st01 trace and then forget to turn it off.  We had it on for 4 days and the system performance gets worse.


What is a good way to check if the trace is on? Or perhaps a way to shut if off with a batch job every night at midnight?  We have 100+ SAP systems and it is not feasible to logon to each system each day to check.

Accepted Solutions (0)

Answers (3)

Answers (3)

alwina_enns
Employee
Employee
0 Kudos

Hello Clifton,

in CCMS there is this monitor structure to create alerts in case a trace is switched on:

RZ20 --> SAP CCMS Monitor Templates
               --> Entire System
                    --> <SID> --> Application Server
                           --> <instance>
                                --> R3BasisSystem
                                      --> TraceSwitches
                            R3DeveloperTrace
                            R3SystemTrace

If a trace is activated in ST05 or ST01, then an alert is created in R3SystemTrace.

Regards,
Alwina

Former Member
0 Kudos

Hi Alwina Enns

Is there any report that we could execute to get all the status of all the app servers? I mean is a kind of difficult check each instance if we have more than 20 application servers... I could request to ABAP team create a little report but I need to know the tables involved. Do you know the table name?

Laszlo_B
Active Contributor
0 Kudos

Hello Clifton,

I know I won't answer your initial question, but a way to handle the system performance is not to allow a lot of trace data / trace files to be written.

These profile parameters adjust ST01 and ST05 trace sizes:

  • rstr/max_filesize_MB
  • rstr/max_files

Best regards,

Laszlo

Former Member
0 Kudos

Hi,

Do you use Solution Manager for  technical monitoring? It can monitor system messages and generate alerts for specific message numbers (you can find detail description of messages in table TSL1D) For example:

IC   6Trace entry of USER &A created for USER &B and UR
IC   7Trace entry of USER &A created for URL &B
IC   8Trace entry of USER &A deleted for USER &B and UR
IC   9Trace entry of USER &A deleted for URL &B
R1   KTrace activated for user &A
R1   LTrace deactivated for user &A
R1   MTrace transferred from remote client
R1   WTrace File(s) &A of User &B Reset
R6   JTrace flags for VM &a have been changed

Good Luck!