[Previous] [Contents] [Next]

5. Reading of statistics

The current statistics printed out in a XML-format. The received document is the initial filter with additional fields: at rules elements "sent" and "recv", meaning, accordingly, quantity of the transmitted and received bytes in IP-packets. If there were resets of statistics during tv3 work - there will be elements "lastReset", specifying a timestamp of statistics reset.

It is possible to receive statistics having executed a rexx-script <tv3 directory>\REXX\read.cmd with one of parameters of reading:

read.cmd filter

This information is also accessible through the WEB-interface (View).

But the most convenient and evident way to receive statistics is the Java-client that can be started as an applet (Java-client) or as the application.

5.1. The Java-client

The tv3 client is written in Java 1.3.1 environment and can be carried out as an applet, or as the application. It is necessary to pass in the catalogue <tv3 directory>\doc to start the client as the application in Java 1.3.1 environment and to execute a command:

java -classpath xercesImpl.jar;xml-apis.jar;tv3c.jar TV3C

There is a support of XML in standard Java since 1.3.x version appeared, that is why you need not to find any libraries for work with XML xercesImpl.jar and xml-apis.jar. If it is used Java 1.4.x and above we recommend to start the client the following way:

javaw -jar tv3c.jar

There will be used more current support XML in Java in this case.


[Previous] [Contents] [Next]