You can obtain information about the Network Server, such as version and current property values, Java information, and Derby database server information, by using the sysinfo utility. The sysinfo utility is available from scripts, the command line, the NetworkServerControl API, and through the servlet interface.
The following scripts are located in the $DERBY_HOME/bin directory. Before running these scripts, make sure that the Derby Network Server is started.
NetworkServerControl.bat sysinfo [-h hostname][-p portnumber]
NetworkServerControl sysinfo [-h hostname] [-p portnumber]
For more information on the sysinfo utility, see the Derby Tools and Utilities Guide.
You can also use Java Management Extensions (JMX) technology to obtain system information. For details, visit the wiki page http://wiki.apache.org/db-derby/DerbyJMX and refer to the API documentation for the packages org.apache.derby.mbeans and org.apache.derby.mbeans.drda. For information on JMX technology, see http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/.