Monitor SAP Systems
Monitor SAP Systems
As shown in the fig above most of the work processes should be in Status “waiting”
and all the work processes should be in Start mode “Yes”.
Also if there is any job running in any work process in DIALOG mode for a long
time we have to check with the user (under whom the job is running) whether we can
kill that job.
Look for any work process where the status column is in “Stopped”
Look for any Dialog/ Update/ Spool work process where the Time column is “7200” (2
hours), contact the user for terminating the process
2. ACTIVITY: System Wide Work Process Overview
TCODE: SM66
What to Monitor: Transaction SM66 is used to check the status of the status of all
work processes across all the Application Servers and CI in a SAP Instance.
This transaction is useful to check the status of all the jobs running in all the work
process of all the Application Servers including CI and can be used same way as
SM50.
Monitor the logon interactive users, load should be distributed across all dialog
instances, e.g. it should not be like that one dialog instance there are 170 users and on
other there are only 10 users.
On the initial screen the userid should be blank and the date should be yesterday and
client should be the productive client in that system as below:
Click on Execute button.
Then check that there should not be much Spool requests Ended with Errors (more
than 20). If it is then we have to find the cause of the problem, which could be the
connection to the Print Server etc.
Then in the next screen check that there should not be locks more than 1 day old, if
there are locks more than 1 day old, check if there is any job running by that user id
for that table, if it is not delete that lock entry.
And also there should not be more than 800 locks at a time, keep on refreshing for
some time and if still locks are at the higher side, check the user id and the job (in
SM50) containing most of the locks and discuss with the user to delete that particular
job and ask the user to schedule this kind of job to run in the night time so that other
user will not be impacted with these locks.
First of all on the initial screen ensure that the Update is active as shown below:
Then click execute button and check that there should not be more than 10 updates
pending or in process at a time and also check if there are multiple occurrences of the
failed updates with different user ids, if it is then we have to diagnose the problem.
Define the time either as the time when you did the last monitoring or start of that
date. Check the logs of CI and all application servers and if you find any abnormal
trend in the log or multiple entries of same kind of error, then try to find out the
corresponding short dump and check the details of the error and try to analyze the
error or if required check the OSS notes with the key words either from the system
error or from short dump, otherwise raise an issue in the issue tracker.
8. ACTIVITY: Check Background Jobs
TCODE: SM37
What to Monitor: Transaction SM37 is used to check the status of Background Jobs.
First check for the cancelled jobs for today and the previous day with the selection
criteria as below:
If there are cancelled jobs we have to check the logs of the job and find out the cause
of the job failure and then take the corrective action accordingly.
Also we have to check the jobs with status release which has not run and are just
there in the release status. Then we have to find out the cause why those has not run
till now and fix that.
In the initial screen click on the drop down button on the right side of Administrator
and choose Expert Mode as shown below:
Then expand your system name e.g. “fsphsapqcos_QCO_00” and then click on
“Today” or the previous day date as below:
Then check the DIALOG response time and it should not exceed 1000 ms, if it is
higher than 1000 ms then we have to check the transactions/ programs impacting the
response time.
11. ACTIVITY: Operating System Monitor
TCODE: ST06
What to Monitor: Transaction ST06 is used to check the Operating System status
e.g. CPU utilization, Memory utilization, Disk utilization, Status of SAP OS
Collector, to Stop/ Start SAP OS Collector, to check the Event Viewer Logs of the
Windows System, to check the connectivity with any application server or any user
front end system etc.
If the CPU utilization is higher than 60% please look into it and find the program/
transaction impacting the CPU utilization.
Below is the useful information that you can find for the short dumps in ST22.
14. ACTIVITY: Database Analysis
TCODE: ST04
What to Monitor: Transaction ST04 is used to monitor Database Performance
Analysis, Database Error Logs, Database Backup (Full/ Log) Status, and Missing
Indexes at the Database Level etc.
Database Check
Performance Database
Status Backup Status
Missing
Indexes
15. ACTIVITY: Check Database Performance
TCODE: DB02
What to Monitor: Transaction DB02 is used to monitor Database Performance,
Database Space utilization (Data files/ Log files), Detailed Analysis of Database
Objects (Tables/ Indexes).
16. ACTIVITY: Client Settings (Weekly)
TCODE: SCC4
What to Monitor: Transaction SCC4 is used to check the Client Settings. The
current client setting for all P1 systems/ clients is shown below, if any system/ client
setting is different from listed below, please inform Pat/ Sanjay/ Darryl.