Chapter 3. Event Real-Time Analysis

Table of Contents

3.1. Overview
3.2. Service(Active)
3.2.1. Top N
3.2.2. Service
3.2.3. SQL
3.2.4. Exception
3.2.5. External Transaction
3.3. Snapshot
3.3.1. Thread
3.3.2. Class Loader
3.3.3. Collection Object
3.3.4. File
3.3.5. Socket
3.3.6. Session
3.3.7. Environment Variable
3.4. Event
3.4.1. Current Day's Event Status
3.4.2. Events

This chapter describes the Real-Time Analysis screen.

3.1. Overview

Real-Time Analysis screen provides detailed information needed for real-time monitoring of servers and WASs that are registered in SysMaster. The main function of Real-Time Analysis screen is to provide detailed information. When failure is detected during normal monitoring activity from the dashboard, Real-Time Analysis screen can be used to analyze the status of a single container.

Real-Time Analysis can be accessed from [WAS] > [Real-Time Analysis].

[Figure 3.1] Real-Time Analysis Screen

Real-Time Analysis Screen

Real-Time Analysis Menu consists of the following two items.

  • Working List

    A single container can be selected from the Working List to analyze its status in real-time. For more information, refer to "1.4. Working List".

  • Monitoring / Analysis

    Data is displayed in charts and using summary tables by business and instance for each of the following sub menus.

    Menu ItemDescription
    [Service(Active)]Check real-time data for Service, SQL, exception, and external transactions.
    [Snapshot]Check real-time data for threads, class loaders, collection objects, files, sockets, sessions, and environment variables.
    [Event]Check current day's event statuses and list of events.

3.2. Service(Active)

Service(Active) provides information related to the currently running services such as EJBs, Servlets, etc.

Service(Active) can be accessed from [WAS] > [Real-Time Analysis] > [Service] and consists of the following tabs.

  • [Top N]

  • [Service]

  • [SQL]

  • [Exception]

  • [External Transaction]

Click [+ More] from each table to move to the related tab to see more detailed information.

3.2.1. Top N

Top N displays a table of Top N services, SQLs, exceptions, and external transactions for the selected container. 'Elapsed Time' value is used to select the Top N rows. Click [Search] from each table to move to the related tab to see more detailed information.

[Figure 3.2] Real-Time Analysis - Active Service

Real-Time Analysis - Active Service

Service

Displays a list of currently running services in the descending order of 'Elapsed Time' for the selected container.

[Figure 3.3] Real-Time Analysis - Active Service - Top N - Service Table

Real-Time Analysis - Active Service - Top N - Service Table

PropertyDescription
Service NameRequest name that identifies the service. (JSP URL, EJB Method, etc.)
Thread NameThread name of the currently running service.
ContainerInformation about the container where the transaction originated from.
Elapsed Time(ms)Duration for service processing.

Detailed service information can be viewed on a popup window by selecting a specific service. For more information about Active Service popup window, refer to "Active Top N" in "2.4. Real-Time Dashboard".

SQL

Displays SQL queries that are currently executing.

[Figure 3.4] Real-Time Analysis - Active Service - Top N - SQL Table

Real-Time Analysis - Active Service - Top N - SQL Table


PropertyDescription
Service NameRequest name that identifies the service. (SQL query)
ContainerInformation about the container where the transaction originated from.
Thread NameThread name of the currently running service.
Elapsed Time(ms)Duration for service processing.

External Transaction

Displays external transaction data that is received through TP.

[Figure 3.5] Real-Time Analysis - Active Service - Top N - External Transaction Table

Real-Time Analysis - Active Service - Top N - External Transaction Table


PropertyDescription
Service NameRequest name that identifies the service. (JSP URL, EJB Method, etc.)
ContainerInformation about the container where the transaction originated from.
Thread NameThread name of the currently running service.
Elapsed Time(ms)Service processing duration.

Exception

Displays a list of Java EE exception types (SQLException, NullPointException, ServletException, SocketException, FileIOException, etc.) and their number of occurrences. Note that the exceptions that are handled by Try/Catch blocks are excluded.

[Figure 3.6] Real-Time Analysis - Active Service - Top N - Exception Table

Real-Time Analysis - Active Service - Top N - Exception Table


PropertyDescription
Exception NameType of exception that occurred in the transaction.
ContainerInformation about the container where the transaction originated from.
Exception Cnt.Number of exception occurrences.

3.2.2. Service

Service displays a list of running services for the selected container in the descending order of 'Elapsed Time.' It contains more detailed information than the Service table in [Top N] tab.

[Figure 3.7] Real-Time Analysis - Active Service - Service

Real-Time Analysis - Active Service - Service

PropertyDescription
Service NameRequest name that identifies the service. (JSP URL, EJB Method, etc.)
Thread NameThread name of the currently running service.
ContainerInformation about the container where the transaction originated from.
Service Type

Transaction service type.

(user/servlet/JDBC/TP(external transaction)/JNDI/EJB/Header, etc.)

CPU Time(ms)Average CPU time used by the service.
Tx CodeUser-defined transaction code recorded in the service.
Elapsed Time(ms)Service processing duration.
Start DateService start date and time.
User IPIP address of the user who requested the service.
SQL Fetch CntDB Fetch execution count.
SQL Fetch Time(ms)SQL Fetch execution time.

3.2.3. SQL

SQL displays currently executing SQL queries in detail.

[Figure 3.8] Real-Time Analysis - Active Service - SQL

Real-Time Analysis - Active Service - SQL

PropertyDescription
Service NameCurrently executing SQL.
Thread NameThread name of the currently running service.
ContainerInformation about the container where the transaction originated from.
Service Type

Transaction service type.

(user/servlet/JDBC/TP(external transaction)/JNDI/EJB/Header, etc.)

CPU Time(ms)Average CPU time used by the service.
Tx CodeUser-defined transaction code recorded in the service.
Elapsed Time(ms)Service processing duration.
Start DateService start date and time.
User IPIP address of the user who requested the service.
SQL Fetch Cnt.DB Fetch execution count.
SQL Fetch Time(ms)SQL Fetch execution time.

3.2.4. Exception

Exception displays a list of Java EE exception types (SQLException, NullPointException, ServletException, SocketException, FileIOException, etc.) and their number of occurrences. Note that only the exceptions that thrown are handled here.

[Figure 3.9] Real-Time Analysis - Active Service - Exception

Real-Time Analysis - Active Service - Exception


PropertyDescription
Exception NameType of exception that occurred in the transaction.
ContainerInformation about the container where the transaction originated from.
Exception Cnt.Number of exception occurrences.

3.2.5. External Transaction

External Transaction displays external transaction data that is received through TP.

[Figure 3.10] Real-Time Analysis - Active Service - External Transaction

Real-Time Analysis - Active Service - External Transaction


PropertyDescription
Service NameRequest name that identifies the service. (JSP URL, EJB Method, etc.)
Thread NameThread name of the currently running service.
ContainerInformation about the container where the transaction originated from.
Service Type

Transaction service type.

(user/servlet/JDBC/TP(external transaction)/JNDI/EJB/Header, etc.)

CPU Time(ms)Average CPU time used by the service.
Tx CodeUser-defined transaction code recorded in the service.
Elapsed Time(ms)Service processing duration.
Start DateService start date and time.
User IPIP address of the user who requested the service.
SQL Fetch CntDB Fetch execution count.
SQL Fetch Time(ms)SQL Fetch execution time.

3.3. Snapshot

Snapshot displays various data by saving snapshots of the execution. It shows the current snapshot data of the currently running container at the time of the search.

Snapshot can be accessed from [WAS] > [Real-Time Analysis] > [Snapshot] and consists of the following tabs.

  • [Thread]

  • [Class Loader]

  • [Collection Object]

  • [File]

  • [Socket]

  • [Session]

  • [Environment Variable]

3.3.1. Thread

Thread displays thread data for the currently running service of the container, and the container's thread dump data. Thread dump data can be used to check for statuses such as BLOCKED, DEADLOCK, etc., and stack traces of the thread can be analyzed to resolve abnormal thread conditions.

[Figure 3.11] Real-Time Analysis - Snapshot - Thread

Real-Time Analysis - Snapshot - Thread

PropertyDescription
Thread NameThread name of the currently running service.
ContainerInformation about the container where the transaction originated from.
Service NameRequest name that identifies the service. (JSP URL, EJB Method, etc.)
Elapsed Time(ms)Service processing duration.
CPU Time(ms)Average CPU time used by the service.
Start DateService start date and time.
ControlThread status configuration.

The following is description of the service control buttons.

ButtonDescription
[Resume]Calls Thread Resume method to resume the thread.
[Suspend]Calls Thread Suspend method of stop the thread.
[Stop]Calls Thread Stop method to forcibly stop the thread.
[Interrupt]Calls Thread Interrupt method to stop a thread that has been in the wait state for a long time.
[Dump]Gets the Thread Dump and displays its data.

3.3.2. Class Loader

Class Loader displays information about all classes that have been loaded. Class Loader's main function is to load the class during runtime without stopping the VM. It shows the total number of times each Class has been loaded. When a row is selected from the Class Loader List, a Class List table that contains a detailed list of classes for the class loader is displayed below.

[Figure 3.12] Real-Time Analysis - Snapshot - Class Loader

Real-Time Analysis - Snapshot - Class Loader

  • Class Loader List

    The following is description of the Class Loader List Properties.

    PropertyDescription
    Loader nameClass loader name.
    ParentParent class loader.
    Class Cnt.Number times the class has been loaded.
    Class PathClass path.
  • Class List

    The following is description of the Class List Property.

    PropertyDescription
    Class NameLoaded class name.
    Class PathClass path.

3.3.3. Collection Object

Collection Object displays a list of collection objects, such as Vertor, HaspMap, and LinkedhaspMap, that are detected in the container.

Active Collection List displays the number of instances and objects created for each collection type. When an error is detected in a collection object, the class name and stack trace information can be used to determine the origination of the error.

When a row is selected from the Active Collection List, stack trace is displayed in the Collection Stack Trace table below.

[Figure 3.13] Real-Time Analysis - Snapshot - Collection Object

Real-Time Analysis - Snapshot - Collection Object


PropertyDescription
ContainerThe name of the container of the service where a collection object is detected.
Class NameCollection implementation class name.
Object Cnt.The number of times java object was registered to the Collection.
Created OnTime when Collection Object is created.
Trace Created OnTime when Collection Object's call trace is created.
Stack TraceWhether to track the stack trace for where Collection was created.

3.3.4. File

Log files for each container contain information about the files that are being used by the container, and the file's I/O status and I/O byte data. They can be used to locate a particular file used by the container through the file path information, and to get the file properties.

[Figure 3.14] Real-Time Analysis - Snapshot - File

Real-Time Analysis - Snapshot - File

PropertyDescription
File NameFile name and path.
Read Access Cnt.Number of file reads.
Write Access Cnt.Number of file writes.
Last OpenedLast accessed date and time of the file.
Last ModifiedLast modified date and time of the file.
LengthFile length. (byte)

3.3.5. Socket

Socket displays information about container sockets, including I/O byte for each socket, socket creation date, etc.

[Figure 3.15] Real-Time Analysis - Snapshot - Socket

Real-Time Analysis - Snapshot - Socket
PropertyDescription
Host IPHost IP Address.
Remote PortRemote port number.
Local PortLocal port number.
Start TimeSocket start date and time.
Read Cnt.Socket Read invocation count.
Write Cnt.Socket Write invocation count.
In StackEnable In Stack?
Out StackEnable Out Stack?

3.3.6. Session

Session displays a list of sessions started in the container and their properties. When a row is selected from the Active Session List, the selected session's properties are displayed in the HTTP Session table below.

[Figure 3.16] Real-Time Analysis - Snapshot - Session

Real-Time Analysis - Snapshot - Session


  • Active Session

    The following is description of the table properties.

    PropertyDescription
    Session IDID of HTTP session object.
    Attribute Cnt.Number of attributes of the session.
    Serialize SizeData size.
    Create TimeTime when HTTP session object is created.
    Last Access TimeLast time when HTTP session's properties were accessed.
    Max. Inactive IntervalExpiration time for HTTP session object that is maintained but not accessed by the container.
  • HTTP Session

    The following is description of the table properties.

    PropertyDescription
    Attribute NameAttribute name of the session.
    ValueSession value.
    Session ClassClass information of the session.

3.3.7. Environment Variable

Environment Variable displays information about the environment variables that are used by the container. All JVM environment variables and container environment variables can be viewed without any separate configurations.

The following is the Environment Variable screen.

[Figure 3.17] Real-Time Analysis - Snapshot - Environment Variable

Real-Time Analysis - Snapshot - Environment Variable

3.4. Event

Event displays a list of unchecked events by event type (INFO, WARNING, CRITICAL, or FATAL) for viewing and analysis.

Event can be accessed from [WAS] > [Real-Time Analysis] > [Event] and consists of the following tabs.

  • [Current Day's Event Status]

  • [Events]

Event threshold can be modified from [ADMIN] > [Event] > [Threshold Settings]. For more information about threshold settings, refer to "SysMaster Administrator Guide".

3.4.1. Current Day's Event Status

Current Day's Event Status displays a list of unconfirmed events that occurred on the current day between 0:00 to 24:00.

[Figure 3.18] Real-Time Analysis - Event - Current Day's Event Status

Real-Time Analysis - Event - Current Day's Event Status

The following is description of the Current Day's Event Status table properties.

PropertyDescription
Event LevelEvent level. (INFO, WARNING, CRITICAL, or FATAL)
Event CodeEvent code.
Event Message FormatEvent message format.
Event Cnt.Number of event occurrences.
ConfirmMark the event as being checked.

[Confirm] is used to mark the event as being checked.

When an event is marked as being checked, it will be removed from the list.

If the confirmed event reoccurs, event count will be reset at 1.

3.4.2. Events

Events display events that match the search criteria.

[Figure 3.19] Real-Time Analysis - Event - Event List

Real-Time Analysis - Event - Event List

  • Search Conditions

    The following is description of search criteria properties. Enter the criteria, and then click [Search] to display the data.

    PropertyDescription
    DatesDesired time period.
    Time PeriodSelect one from Last 10 Min, 1 Hr, or 1 Day.
    Top NNumber of rows to display in the Event table.
    Event LevelEvent level.
    Resource TypeResource type. (Was, System)
    Confirm Y/NConfirm the event. (All, Y, N)
  • Event Table

    The following is description of the Event table properties.

    PropertyDescription
    Event LevelEvent level. (INFO, WARNING, CRITICAL, FATAL)
    Event CodeEvent code.
    ResourceResource name.
    Start DateDate and time of event occurrence.
    Resource TypeResource type (Was, System).
    MessageEvent message.
    Detailed AnalysisDetailed analysis of the event.

To confirm an event, check the checkbox in the first column, and then click [Confirm] at the bottom of the screen. To select all events, check the checkbox in the first column of the header.

Selected events can be analyzed in detail. Using the mouse, hover over the event to view the event message in a balloon help. Click [Detailed Analysis] to go to the Detailed Analysis screen.

The following is description of the properties displayed for each event.

EventComponent
SysMon Event[Host CPU Usage(%), Host Memory Usage(mbyte), Swap Memory Usage(mbyte), Disk I/O(bps)] Line Chart
Vm Event[JVM CPU Usage(%), JVM Memory Usage(mbyte), GC Time(s), Available Heap Size(mbyte)] Line Chart
Summary Event[TPS, Avg. Response Time(s), Number of Concurrent Users, Avg. Execution Count] Line Chart
Service EventTX View, [Transaction Execution List, Property] Table, Trace
Resource Event[Resource Avg. Response Time (s), Number of Unclaimed Resources, Leak] Line Chart, Service Table.
Pool Event[Thread Pool Use Count, DB Pool Use Count, Pool Use Count] Line Chart, Pool List Table.

[Figure 3.20] Detailed Event Analysis Screen

Detailed Event Analysis Screen