Example Initialization Settings File  

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE application SYSTEM "config.dtd">

<!--

 * Title: Performance Reporter Configuration File

 * Copyright: Copyright (c) 2003, Hitachi,Ltd.

 * Licensed Material of Hitachi, Ltd. Reproduction, use, modification or disclosure

   otherwise than permitted in the License Agreement is strictly prohibited.

 * Note: Original

 * Version: 3.0.0

 * $Revision: 28 $

 * $Modtime: 03/05/20 15:50 $

-->

<application name="PerformanceReporter">

    <logging>

        <!-- Path of log files directory -->

        <param name="logDir" value=""/>

        <!-- Maximum number of log files

                Specifiable values: 1 to 16

                Default           : 10

        -->

        <param name="logFileNumber" value="10"/>

        <!-- Size of a log file (unit: MB=1024x1024byte)

                Specifiable values: 1 to 100

                Default           : 10

        -->

        <param name="logFileSize" value="1"/>

        <!-- Logging level of a log file

                Specifiable values: FATAL/WARN/DEBUG/TRACE

                Default           : DEBUG

        -->

        <param name="logLevel" value="DEBUG"/>

        <!--Retention period of a log file

                Specifiable values: 1 to 30

                Default           : 30

        -->

        <param name="logFileRetention" value="30"/>

    </logging>

    <export>

        <!-- lineSeparator

                Specifiable values: CRLF,LF

                Default           : CRLF

        -->

        <param name="lineSeparator" value="CRLF"/>

        <!-- characterCode

                Specifiable values: US-ASCII,windows-1252,ISO-8859-1,UTF-8,UTF-16,UTF-16BE,UTF-16LE,Shift_JIS,EUC-JP,EUC-JP-LINUX,MS932

        -->

        <param name="characterCode" value=""/>

        <!-- Export filename -->

        <param name="csvFileName" value="Export.csv"/>

    </export>

    <vsa>

        <vserver-connection>

            <!-- The port number which PFM View Server uses.

                Specifiable values: 1 to 65535

                Default           : 22286

            -->

            <param name="port" value="22286"/>

        </vserver-connection>

        <!-- The maximum limits of the records.

                Specifiable values: 1 to 2,147,483,647

                Default           : 1,440

        -->

        <param name="maxFetchCount" value="1440"/>

        <!-- The display count per a page.

                Specifiable values: 1 to 2,147,483,647

                Default           : 20

        -->

        <param name="displayCountPerPage" value="20"/>

        <!-- Maximum data receiving count per report.

                Specifiable values: 1 to 360

                Default           : 30

        -->

        <param name="maxRealtimeCache" value="30"/>

        <!-- The limit of realtime report request interval.

                If the interval between each request exceeds this value,

                system consider that realtime report was closed without notification and

                the resources will be freed.

                Specifiable values: 60 to 3600

                Default           : 600

        -->

        <format>

        <!-- Format set is specified.

                Specifiable values : pattern-ddMMyyyy,pattern-MMddyyyy,pattern-yyyyMMdd

            -->

            <param name="selectFormat" value=""/>

        </format>

        <bookmark>

            <!-- The directory where bookmark repository is stored.

                Default           : <install directory>\bookmarks

            -->

            <param name="bookmarkRepository" value="c:\Program Files\Hitachi\jp1webopt\bookmarks"/>

        </bookmark>

    </vsa>

    <command>

        <export>

            <!-- The maximum limits of the records.

                Specifiable values: 1 to 2,147,483,647

                Default           : The value of maxFetchCount of the <vsa> tag is applied.

          -->

          <param name="maxFetchCount" value="1440"/>

        </export>

    </command>

</application>

 

Example DTD File (config.dtd) Defining Parameter Entries

  

<!--

 * Title: Performance Reporter Configuration File DTD

 * Copyright: Copyright (c) 2003, Hitachi,Ltd.

 * Licensed Material of Hitachi, Ltd. Reproduction, use, modification or disclosure

   otherwise than permitted in the License Agreement is strictly prohibited.

 * Note:

 * Version: 3.0.0

 * $Revision: 1 $

 * $Modtime: 03/05/08 10:59 $

-->

<!ELEMENT application (logging,export,vsa,draw?,command?,common?)>

    <!ATTLIST application name ID #REQUIRED>

<!ELEMENT param (#PCDATA)>

    <!ATTLIST param name CDATA #REQUIRED>

    <!ATTLIST param value CDATA #REQUIRED>

<!-- common parameters -->

<!ELEMENT common (param*)>

<!-- logging parameters -->

<!ELEMENT logging (param+|separately?)* >

<!ELEMENT separately (param*)>

<!-- export parameters -->

<!ELEMENT export (param*)>

<!-- vsa parameters -->

<!ELEMENT vsa (vserver-connection,param*,vsa-factory?,format,bookmark?)>

<!ELEMENT vserver-connection (param*)>

<!ELEMENT vsa-factory (param*)>

<!ELEMENT format (param?,date-format?,locale-format*,modify-format*)>

<!ELEMENT date-format (#PCDATA)>

    <!ATTLIST date-format

              pattern   (pattern-yyyyMMdd |

                         pattern-ddMMyyyy |

                         pattern-MMddyyyy ) #IMPLIED

              separator (space |

                         slash |

                         hyphen |

                         period ) #IMPLIED

              export-separator (space |

                         slash |

                         hyphen |

                         period ) #IMPLIED>

<!ELEMENT locale-format (date-format?,locale*,locale-format*)>

<!ELEMENT locale (#PCDATA)>

<!ELEMENT modify-format (date-format?,locale*)>

<!--bookmark parameters -->

<!ELEMENT bookmark (param*)

<!-- command parameters -->

<!ELEMENT command (export?)>

<!-- draw parameters -->

<!ELEMENT draw (chart-style|error-image)*>

<!ELEMENT chart-style (param*)>

    <!ATTLIST chart-style id CDATA #REQUIRED>

<!ELEMENT error-image (param*)>

    <!ATTLIST error-image id CDATA #REQUIRED>