Obtaining system information

You can obtain information about the Network Server, such as version and current property values, Java information, and 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 $/bin directory. Before running these scripts, make sure that the Network Server is started.

Run the following script to obtain information about the Network Server on a Windows system:NetworkServerControl.bat sysinfo [-h hostname][-p portnumber] Run the following script to obtain information about the Network Server on a UNIX system:NetworkServerControl sysinfo [-h hostname] [-p portnumber]

For more information on the sysinfo utility, see the .

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://download.oracle.com/javase/6/docs/technotes/guides/jmx/.