|
|
Table of Contents |
This section describes the VolanoChat server real time status application. A synopsis of the command is given in the COM.volano.Status section of the Command Reference appendix. The status application allows you to gather a variety of performance statistics to about your VolanoChat server including heap memory usage, Java thread counts, connection counts, the number of public, personal, and private chat rooms, and the average number of messages received and sent per second.
The following VolanoChat server properties must be defined for the
status application. By default, these properties are located in the
properties.txt file in the VolanoChat installation
directory. Each property is shown with its default value below:
server.host=
localhost if undefined.
admin.password=
admin.port=8001
status.interval=60
In particular, you'll need to define an administrative password in order to connect to the VolanoChat server for status reports. Once these properties are defined, you can obtain real time status reports by entering the following command from the VolanoChat server installation directory:
java COM.volano.Status
You may redirect the output to a file in order to save all of the performance statistics for later analysis by a spreadsheet program, for example.
The format of the status application output can be configured by modifying its Java message format patterns.
format.date
format.status.memory
format.status
format.date pattern above,
format.status.memory
pattern above,
The applet worksheet below lets you try out different status report formats right on this Web page.
To format the status reports for direct importing into a spreadsheet program as comma separated values, you might try the following message patterns:
format.date
M/d/y HH:mm:ss
format.status.memory
{0,number,0}, {1,number,0}, {2,number,0}
format.status
"{0}", {1}, {2,number,0}, {3,number,0}, {4,number,0}, {5,number,0},
{6,number,0}, {7,number,0}, {8,number,0}, {9,number,0}
which will give you status reports like the following:
"5/13/98 22:48:53", 5731, 8664, 66, 301, 146, 12, 0, 32, 5, 35, 40
|
|
Check HTML | Table of Contents |