SlideShare a Scribd company logo
System Monitoring
System monitoring is a daily routine activity and this document provides a systematic step by
step procedure for Server Monitoring. It gives an overview of technical aspects and concepts
for proactive system monitoring. Few of them are:
 Checking Application Servers.
 Monitoring System wide Work Processes.
 Monitoring Work Processes for Individual Instances.
 Monitoring Lock Entries.
 CPU Utilization
 Available Space in Database.
 Monitoring Update Processes.
 Monitoring System Log.
 Buffer Statistics
 Monitoring Batch Jobs
 Spool Request Monitoring.
 Number of Print Requests
 ABAP Dump Analysis.
 Database Performance Monitor.
 Database Check.
 Monitoring Application Users.
Monitor a SAP System
Checking Application Servers (SM51)
This transaction is used to check all active application servers.
Here you can see which services or work processes are configured in each instance.
Monitoring Work Processes for Individual Instances SM50:
Displays all running, waiting, stopped and PRIV processes related to a particular instance.
Under this step we check all the processes; the process status should always be waiting or
running. If any process is having status other than waiting or running we need to check that
particular process and report accordingly.
This transaction displays lot of information like:
1. Status of Workprocess (whether its occupied or not)
2. If the workprocess is running, you may be able to see the action taken by it in Action
column.
3. You can which table is being worked upon
Some of typical problems:
 User take long time to log on/not able to logon/online transaction very slow. This could be
the result of the DIA work processes are fully utilized. There could be also the result of long
running jobs (red indicator under the Time column). If necessary you can cancel the session
by selecting the jobs then go to Process>Cancel Without core. This will cancel the job and
release the work process for other user/process
 Some users may have PRIV status under Reason column. This could be that the user
transaction is so big that it requires more memory. When this happen the DIA work process
will be 'owned' by the user and will not let other users to use. If this happens, check with the
user and if possible run the job as a background job.
 If there is a long print job on SPO work process, investigate the problem. It could be a
problem related to the print server or printer.
Monitoring System wide Work Processes (SM66)
By checking the work process load using the global work process overview, we can quickly
investigate the potential cause of a system performance problem.
Monitor the work process load on all active instances across the system
Using the Global Work Process Overview screen, we can see at a glance:
 The status of each application server
 The reason why it is not running
 Whether it has been restarted
 The CPU and request run time
 The user who has logged on and the client that they logged on to
 The report that is running
Monitor Application User (AL08 and SM04)
This transaction displays all the users of active instances.
Monitoring Update Processes (SM13)
Execute Transaction SM13 and put '*' in the field USER and click on button.
If there are no long pending updates records or no updates are going on then this queue will be
empty as shown in the below screen shot.
But, if the Update is not active then find the below information:
 Is the update active, if not, was it deactivated by system or by user?
o Click on button and get the information.
o Click on button and get the below information:
 Is any update cancelled?
 Is there a long queue of pending updates older than 10 minutes?
Monitoring Lock Entries (SM12)
Execute Transaction SM12 and put '*' in the field User Name
SAP provides a locking mechanism to prevent other users from changing the record that you
are working on. In some situations, locks are not released. This could happen if the users are
cut off i.e. due to network problem before they are able to release the lock.
These old locks need to be cleared or it could prevent access or changes to the records.
We can use lock statistics to monitor the locks that are set in the system. We record only those
lock entries which are having date time stamp of previous day.
Monitoring System Log (SM21)
We can use the log to pinpoint and rectify errors occurring in the system and its environment.
We check log for the previous day with the following selection/option:
 Enter Date and time.
 Select Radio Button Problems and Warnings
 Press Reread System Log.
Tune Summary (ST02)
Step 1: Go to ST02 to check the Tune summary.
Step 2: If you see any red values, in SWAPS, double –click the same.
Step 3: In the below screen click on the tab 'Current Parameters'
Step 4: Note down the value and the Profile parameters
Step 5: Go to RZ10 (to change the Profile parameter values)
Step 6: Save the changes.
Step 7: Restart the server to take the new changes effect.
CPU Utilization (ST06)
Idle CPU utilization rate must be 60-65%,if it exceeds the value then we must start checking at
least below things:
 Run OS level commands – top and check which processes are taking most resources.
 Go to SM50 or SM66 .Check for any long running jobs or any long update queries being run.
 Go to SM12 and check lock entries
 Go to SM13 and check Update active status.
 Check for the errors in SM21.
ABAP Dumps (ST22)
Here we check for previous day's dumps
Spool Request Monitoring (SP01)
For spool request monitoring, execute SP01 and select as below:
 Put '*' in the field Created By
 Click on execute button.
Here we record only those requests which are terminated with problems.
Monitoring Batch Jobs (SM37)
For Monitoring background jobs, execute SM37 and select as below:
 Put '*' in the field User Name and Job name
 In Job status, select: Scheduled, Cancelled, Released and Finished requests.
Transactional RFC Administration (SM58)
Transactional RFC (tRFC, also originally known as asynchronous RFC) is an asynchronous
communication method which executes the called function module in the RFC server only
once.
We need to select the display period for which we want to view the tRFCs and then select '*' in
the username field to view all the calls which have not be executed correctly or waiting in
queue.
QRFC Administration (Outbound Queue-SMQ1)
We should specify the client name over here and see if there any outgoing qRFCs in waiting or
error state.
QRFC Administration (Inbound Queue-SMQ2)
We should specify the client name over here and see if there any incoming qRFCs in waiting or
error state.
Database Administration (DB02)
After you select Current Sizes on the first screen we come to the below screen which shows
us the current status of all the tablespaces in the system.
If any of the tablespace is more than 95% and the autoextent is off then we need to add a new
datafile so that the database is not full.
We can also determine the history of tablespaces.
We can select Months, Weeks or Days over here to see the changes which takes place in a
tablespace.
We can determine the growth of tablespace by analyzing these values.
Database Backup logs (DB12)
From this transaction we could determine when the last successful backup of the system was.
We can review the previous day's backups and see if everything was fine or not.
We can also review the redo log files and see whether redo log backup was successful or not.
Jitender Dixit
9354555555

More Related Content

PDF
Sap basis made_easy321761331053730
DOC
Greske na sapu
PDF
Sap basis made easy
PDF
Sap monitoring tutorial & best practices system guard
 
PDF
Xandria datasheet
PDF
SAP Basis CCMS
PDF
sap basis transaction codes
PDF
Always on high availability best practices for informix
Sap basis made_easy321761331053730
Greske na sapu
Sap basis made easy
Sap monitoring tutorial & best practices system guard
 
Xandria datasheet
SAP Basis CCMS
sap basis transaction codes
Always on high availability best practices for informix

Similar to Step by step SAP ABAP system monitoring. (20)

PDF
Informix HA Best Practices
DOC
Early watch report
PPTX
New Microsoft PowerPoint Presentation.pptx
PDF
Dynamics ax performance tuning
PDF
IMS12 ims performance tools
PDF
100 sap basis_interviwe_questions
PDF
[Altibase] 12 replication part5 (optimization and monitoring)
DOC
SAP Implementation and administration guide by bob panic
PDF
Tips and Tricks for SAP Sybase ASE
PDF
Performance Tuning for Pirates!
PPTX
Monitoring sql server
PPT
Key_Figure_Catalogue for BP monitoring s
PPTX
SAP HANA SPS08 Administration & Monitoring
PPT
Wtu 2014 ibm web sphere mq for zos - performance and accounting
PDF
Troubleshooting sql server
PPTX
Sql server 2012 - always on deep dive - bob duffy
PPTX
End-to-end Troubleshooting Checklist for Microsoft SQL Server
PDF
les06.pdf
PPTX
Database performance monitoring:Key to seamless application performance
PPTX
SQL Explore 2012: P&T Part 1
Informix HA Best Practices
Early watch report
New Microsoft PowerPoint Presentation.pptx
Dynamics ax performance tuning
IMS12 ims performance tools
100 sap basis_interviwe_questions
[Altibase] 12 replication part5 (optimization and monitoring)
SAP Implementation and administration guide by bob panic
Tips and Tricks for SAP Sybase ASE
Performance Tuning for Pirates!
Monitoring sql server
Key_Figure_Catalogue for BP monitoring s
SAP HANA SPS08 Administration & Monitoring
Wtu 2014 ibm web sphere mq for zos - performance and accounting
Troubleshooting sql server
Sql server 2012 - always on deep dive - bob duffy
End-to-end Troubleshooting Checklist for Microsoft SQL Server
les06.pdf
Database performance monitoring:Key to seamless application performance
SQL Explore 2012: P&T Part 1
Ad

Recently uploaded (20)

PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
DOCX
Unit-3 cyber security network security of internet system
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Funds Management Learning Material for Beg
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
Testing WebRTC applications at scale.pdf
PPTX
E -tech empowerment technologies PowerPoint
PDF
WebRTC in SignalWire - troubleshooting media negotiation
Cloud-Scale Log Monitoring _ Datadog.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
Introuction about ICD -10 and ICD-11 PPT.pptx
Unit-3 cyber security network security of internet system
SAP Ariba Sourcing PPT for learning material
Design_with_Watersergyerge45hrbgre4top (1).ppt
Funds Management Learning Material for Beg
The Internet -By the Numbers, Sri Lanka Edition
Tenda Login Guide: Access Your Router in 5 Easy Steps
An introduction to the IFRS (ISSB) Stndards.pdf
PptxGenJS_Demo_Chart_20250317130215833.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
INTERNET------BASICS-------UPDATED PPT PRESENTATION
introduction about ICD -10 & ICD-11 ppt.pptx
The New Creative Director: How AI Tools for Social Media Content Creation Are...
SASE Traffic Flow - ZTNA Connector-1.pdf
Testing WebRTC applications at scale.pdf
E -tech empowerment technologies PowerPoint
WebRTC in SignalWire - troubleshooting media negotiation
Ad

Step by step SAP ABAP system monitoring.

  • 1. System Monitoring System monitoring is a daily routine activity and this document provides a systematic step by step procedure for Server Monitoring. It gives an overview of technical aspects and concepts for proactive system monitoring. Few of them are:  Checking Application Servers.  Monitoring System wide Work Processes.  Monitoring Work Processes for Individual Instances.  Monitoring Lock Entries.  CPU Utilization  Available Space in Database.  Monitoring Update Processes.  Monitoring System Log.  Buffer Statistics  Monitoring Batch Jobs  Spool Request Monitoring.  Number of Print Requests  ABAP Dump Analysis.  Database Performance Monitor.  Database Check.  Monitoring Application Users. Monitor a SAP System Checking Application Servers (SM51) This transaction is used to check all active application servers. Here you can see which services or work processes are configured in each instance.
  • 2. Monitoring Work Processes for Individual Instances SM50: Displays all running, waiting, stopped and PRIV processes related to a particular instance. Under this step we check all the processes; the process status should always be waiting or running. If any process is having status other than waiting or running we need to check that particular process and report accordingly. This transaction displays lot of information like: 1. Status of Workprocess (whether its occupied or not) 2. If the workprocess is running, you may be able to see the action taken by it in Action column. 3. You can which table is being worked upon Some of typical problems:  User take long time to log on/not able to logon/online transaction very slow. This could be the result of the DIA work processes are fully utilized. There could be also the result of long running jobs (red indicator under the Time column). If necessary you can cancel the session by selecting the jobs then go to Process>Cancel Without core. This will cancel the job and release the work process for other user/process  Some users may have PRIV status under Reason column. This could be that the user transaction is so big that it requires more memory. When this happen the DIA work process will be 'owned' by the user and will not let other users to use. If this happens, check with the user and if possible run the job as a background job.  If there is a long print job on SPO work process, investigate the problem. It could be a problem related to the print server or printer. Monitoring System wide Work Processes (SM66)
  • 3. By checking the work process load using the global work process overview, we can quickly investigate the potential cause of a system performance problem. Monitor the work process load on all active instances across the system Using the Global Work Process Overview screen, we can see at a glance:  The status of each application server  The reason why it is not running  Whether it has been restarted  The CPU and request run time  The user who has logged on and the client that they logged on to  The report that is running Monitor Application User (AL08 and SM04) This transaction displays all the users of active instances.
  • 4. Monitoring Update Processes (SM13) Execute Transaction SM13 and put '*' in the field USER and click on button.
  • 5. If there are no long pending updates records or no updates are going on then this queue will be empty as shown in the below screen shot. But, if the Update is not active then find the below information:  Is the update active, if not, was it deactivated by system or by user? o Click on button and get the information. o Click on button and get the below information:  Is any update cancelled?  Is there a long queue of pending updates older than 10 minutes? Monitoring Lock Entries (SM12) Execute Transaction SM12 and put '*' in the field User Name
  • 6. SAP provides a locking mechanism to prevent other users from changing the record that you are working on. In some situations, locks are not released. This could happen if the users are cut off i.e. due to network problem before they are able to release the lock. These old locks need to be cleared or it could prevent access or changes to the records. We can use lock statistics to monitor the locks that are set in the system. We record only those lock entries which are having date time stamp of previous day. Monitoring System Log (SM21) We can use the log to pinpoint and rectify errors occurring in the system and its environment. We check log for the previous day with the following selection/option:  Enter Date and time.  Select Radio Button Problems and Warnings  Press Reread System Log.
  • 7. Tune Summary (ST02) Step 1: Go to ST02 to check the Tune summary. Step 2: If you see any red values, in SWAPS, double –click the same.
  • 8. Step 3: In the below screen click on the tab 'Current Parameters'
  • 9. Step 4: Note down the value and the Profile parameters
  • 10. Step 5: Go to RZ10 (to change the Profile parameter values) Step 6: Save the changes. Step 7: Restart the server to take the new changes effect. CPU Utilization (ST06) Idle CPU utilization rate must be 60-65%,if it exceeds the value then we must start checking at least below things:  Run OS level commands – top and check which processes are taking most resources.  Go to SM50 or SM66 .Check for any long running jobs or any long update queries being run.  Go to SM12 and check lock entries  Go to SM13 and check Update active status.  Check for the errors in SM21. ABAP Dumps (ST22) Here we check for previous day's dumps
  • 11. Spool Request Monitoring (SP01) For spool request monitoring, execute SP01 and select as below:  Put '*' in the field Created By  Click on execute button.
  • 12. Here we record only those requests which are terminated with problems. Monitoring Batch Jobs (SM37) For Monitoring background jobs, execute SM37 and select as below:  Put '*' in the field User Name and Job name  In Job status, select: Scheduled, Cancelled, Released and Finished requests.
  • 13. Transactional RFC Administration (SM58) Transactional RFC (tRFC, also originally known as asynchronous RFC) is an asynchronous communication method which executes the called function module in the RFC server only once.
  • 14. We need to select the display period for which we want to view the tRFCs and then select '*' in the username field to view all the calls which have not be executed correctly or waiting in queue. QRFC Administration (Outbound Queue-SMQ1) We should specify the client name over here and see if there any outgoing qRFCs in waiting or error state. QRFC Administration (Inbound Queue-SMQ2) We should specify the client name over here and see if there any incoming qRFCs in waiting or error state.
  • 15. Database Administration (DB02) After you select Current Sizes on the first screen we come to the below screen which shows us the current status of all the tablespaces in the system.
  • 16. If any of the tablespace is more than 95% and the autoextent is off then we need to add a new datafile so that the database is not full. We can also determine the history of tablespaces. We can select Months, Weeks or Days over here to see the changes which takes place in a tablespace. We can determine the growth of tablespace by analyzing these values.
  • 17. Database Backup logs (DB12) From this transaction we could determine when the last successful backup of the system was. We can review the previous day's backups and see if everything was fine or not. We can also review the redo log files and see whether redo log backup was successful or not.