!--a11y-->
Monitoring Performance and Resource Usage 
You can monitor the performance of the system and the usage of the system resources, and the status of the manager and services of the J2EE Engine from the central system. You can monitor the performance above all using the statistical records that the system writes. Use transaction ST03G to display the statistical records.
You can display the system resources and the data provided by the managers and services in the status monitors of the Monitor Service in the Visual Administrator. This data is transferred to the central system and monitored with the Alert Monitor, transaction RZ20.
· The SAP J2EE Engine is delivering statistics records to the central monitoring system using the SAPCCMSR agent.
· The DSR collector job SAP_COLLECTOR_FOR_NONE_R3_STAT is scheduled in the central monitoring system.
The performance of the J2EE Engine and of the deployed applications is displayed as statistics, known as Distributed Statistics Records (DSR) in the Global Workload Monitor (transaction ST03G). The data can be called in different modes:
· As a workload overview for the day, the week, or the month
· As action, time, or user profiles, broken down by the individual services:
¡ EJB Request
¡ Web Request
¡ Security
¡ System
· DSR Administration
· Workload for the last few minutes
It is not possible to set alerts for statistical values. It is therefore necessary and important to check the performance values at regular intervals.

The interpretation of the performance data is based to a large extent on experience by observing your own system and, for example, on perceived adequate response time duration, depending on the size and complexity of the application called, the number of database accesses, and the quantity of transported data.

You can, for example, compare the response times for today with the response times for previous days.
Use the hit lists (top response time, top call time) and the response time distribution to check whether and how problems occurred. For information about how you can identify applications with errors or that are not performing well, see the the example Performance Analysis with DSRs.
The
Performance
Trace is deactivated as a basic principle, to avoid generating additional
and unnecessary workload. You should only activate it if a problem has
occurred.
Activate the
performance trace in the DSR service of the Visual Administrator fort he
modules that could be useful for investigating the problem that has
occurred.
You can display the
trace data that is written in transaction STATTRACE.
· If the problem has occurred for an SAP application:
¡
Activate and analyze the
Single Activity
Trace
¡ Consult the documentation for the SAP application
·
If your system is a development system and not a
production system, you can use the
Application
Tracing to investigate the application to method level.

Do not use application tracing in production systems, since you must stop and restart the application to do so.
The vital values for the individual managers and services of the J2EE Engine, such as memory usage, pool utilization, and queue sizes are displayed in the Monitor Service of the Visual Administrator with alert colors using the “traffic light system”.

The data displayed here is transferred to the CCMS of the central system by the SAPCCMSR agent with the option –J2EE and is displayed in the alert monitor (transaction RZ20). You can also set up notifications in the case of alerts and auto-reaction methods here.
For information about identifying the problems that have
occurred, see the reference manual fort he
Manager or the
Service that
is displaying the error.
If an alert occurs in the Pool Manager monitor, which displays that there are insufficient byte objects of a particular size available, go to the Pool Manager of the server and increase the maximum number of entries.


Before you make changes to the configurations, you should ensure that you understand the dependencies of the changes. For example, if you increase pools, additional memory is usually allocated. Increasing the number of threads accepted in the HTTP Provider leads to a greater workload in the system and the respective applications, and so on.
