![]() ![]() ![]() ![]() |
Table of Contents |
COM.volano.Status
captures real time status reports from the VolanoChat server. The status application allows you to gather a variety of performance statistics 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. This information is commonly used to put a real-time count of chatters onto a webpage. Before you use the Status module, you need to first set a password for admin.password in your properties.txt file. (For more information, see [5.2] Server Properties)
java -cp lib/volanochat-server.jar COM.volano.Status [ options ]
COM.volano.Status
makes a network connection to the VolanoChat server and requests it to generate status reports at a regular interval. It formats and prints each status report received. See the [5.6] Report Formatting section for a complete description on how to modify the report formats.
-cp lib/volanochat-server.jar
file
conf/properties.txt
, relative to the current working directory.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=
admin.port=8001
admin.password=
status.interval=60
format.date=[dd/MMM/yyyy:HH:mm:ss z]
format.status={0} {1} {2} {3,number,0} {4,number,0} {5,number,0} {6,number,0} {7,number,0} {8,number,0}
format.status.memory={0,number,0}KB/{1,number,0}KB {2,number,0%}
format.status.resources={0,number,0} {1,number,0} ({2,number,0})
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 -cp lib/volanochat-server.jar 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.
CLASSPATH
lib/volanochat-server.jar
archive of your VolanoChat installation.See also:
[9.2] COM.volano.Main [5.6] Report Formatting
![]() ![]() ![]() ![]() |
XHTML 1.0 | Table of Contents |