[AIX Solaris HP-UX Linux Windows][z/OS]

DataReaderWrapper class

You can use a command-line Java™ class to configure the runtime operations reports to log data for reuse in external programs.

Purpose

You can read and filter the data logs into your own files by invoking this Java class from a command line.

Location

The DataReaderWrapper class is located in the app_server_root/plugins/com.ibm.ws.ve.runtime.was.jar file.

The full name of the class is:
com.ibm.ws.xd.visualizationengine.cacheservice.DataReaderWrapper
The full class name is required when running the Java command with that class:
java com.ibm.ws.xd.visualizationengine.cacheservice.DataReaderWrapper ServerStatsCache log 
  data.out 1113189469300 1113189472500 name server1 node dabtcNode01

Usage

To run the DataReaderWrapper class from a command line, use the following command:

java DataReaderWrapper  

Parameters

The following parameters are available:

  • log_type

    Type of log. You can use the log_type parameter alone to retrieve a help list of properties and their descriptions for the specified log. These properties can be used for the property_filter parameter.

    Example:
    java DataReaderWrapper ServerStatsCache
  • log_directory

    Directory of the log file.

    Example:
    java DataReaderWrapper ServerStatsCache log
  • output_file_name

    Specifies the name of the output file.

    Example:
    java DataReaderWrapper ServerStatsCache log data.log
  • interval_start_time

    The start time of the log interval in long or string form.

    Examples:
    • Long form:
      java DataReaderWrapper ServerStatsCache log data.log 1113189469300
    • String form (yy.MM.dd_HH.mm.ss):
      java DataReaderWrapper ServerStatsCache log data.log 05.05.18_12.02.45
  • interval_end_time

    The end time of the log interval in long or string form.

    Examples:
    • Long form:
      java DataReaderWrapper ServerStatsCache log data.log 1113189469300 1113189472500
    • String form (yy.MM.dd_HH.mm.ss):
      java DataReaderWrapper ServerStatsCache log data.log 05.05.18_12.02.45 05.05.18_01.02.00
  • property_filter

    Property value pairs.

    Example:
    java DataReaderWrapper ServerStatsCache log data.log 1113189469300 1113189472500 name server1 node dabtcNode01
  • ?

    Displays syntax help.

    Example: java DataReaderWrapper ?

In the following example, the DataReaderWrapper reads the ServerStatsCache log files in the log directory from the time 1113189469300 to 1113189472500 on the server1 machine and the dabtcNode01 node:
java DataReaderWrapper ServerStatsCache log data.out 1113189469300 1113189472500 name server1 node dabtcNode01

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:55
File name: rwve_runtimetop.html