SMON Job
SMON Job
Symptom
The Snapshot Monitoring tool (/SDF/SMON) can be used for analysis of performance problems and general system
monitoring.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is
purely coincidental.
Environment
SAP NetWeaver 7.4 or higher
Cause
1. Authorizations required to run SMON
Resolution
SMON is delivered with the ST-PI Software Component (SAP Solution Tools Plug-In) and was first introduced in SP 0002.
If SMON does not yet exist in the system, see SAP Note 539977 for installing and updating ST-PI.
For errors/issues with SMON itself:
Ensure ST-PI is up to date per Note 539977.
If issues with SMON persist despite being up to date, an incident can be opened in SV-SMG-SDD for further assistance.
If the SAP NetWeaver release is lower than 7.4, /SDF/MON must be used instead (SAP Note 2383809).
To make use of SMON, it must be started before the desired analysis period or already running when the issue occurs.
If multiple ABAP systems are involved in the the problem scenario, SMON must be turned on in both systems.
Object Fields
S_TCODE TCD=/SDF/SMON,SM50,SM04
S_ADMI_FCD S_ADMI_FCD=PADM,ST0R
S_BTCH_JOB JOBGROUP=*
JOBACTION=RELE
S_BTCH_ADM BTCADMIN=Y
Turning on Daily Monitoring
1. To schedule SMON, open transaction /n/SDF/SMON in any client (data is collected per instance/system).
2. The Snapshot Collections screen (or the Start Snapshot Monitoring screen) will open.
3. Click the Schedule new monitoring (F6) button.
In some cases SAP will ask for additional content switches to be turned on. For daily monitoring purpose, all options
could be left as default.
6. Once configured as desired, click the Execute (F8) button and the SMON collectors will be started on each application
server.
If there were no snapshot collections before now, wait 1-2 minutes for the collectors to collect some snapshot samples,
then reopen /n/SDF/SMON to view the snapshot collection.
Turning off Daily Monitoring
SAP recommends keeping Daily Monitoring on 24/7 to aid in the analysis of past performance and resource problems.
1. Open transaction /n/SDF/SMON in any client, select the active/running collection (the collection with the gear icon),
and click the Stop Analysis button.
2. The current collector should now be stopped.
To stop future Daily Monitoring collectors from being started:
1. On the same screen, click the Schedule new monitoring (F6) button.
Overhead
Transaction SMON has negligible impact on overall system performance when the content switches remain as their defaults.
Every snapshot interval, an RFC call is made to each application server included in the monitoring in order to collect the
selected content. The calls typically last <1 second, however, if there is a (RFC) WP shortage, the snapshot content will be
delayed or fail to collect.
See Also
SAP Note 2689852 - /sdf/mon memory mapping
KBA 3006447 - Comparing slow transactions, users and reports between systems
KBA 3017593 - Documenting and capturing a General performance issue
SAP Note 539977 - Release strategy for add-on ST-PI
Keywords
SMON, Tracing, Resources, Collector, /SDF/MON
Attributes
Key Value
Other Components Service > SAP Solution Manager > Service Data Download (SV-SMG-SDD)
2383809 SV-PERF
3033103 SV-PERF Information required for initial analysis of Performance Issues in ABAP System