# Obtaining system information

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.

- 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 Java DB 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/.

- Obtaining system information by using the command line
- Obtaining system information by using the API

Parent topic: Using the Network Server with preexisting Derby applications
Related concepts
The Network Server and JVMs
Accessing the Network Server by using the network client driver
Accessing the Network Server by using a DataSource
XA and the Network Server
Using the Derby tools with the Network Server
Differences between running Derby in embedded mode and using the Network Server
Related tasks
Installing required jar files and adding them to the classpath
Starting the Network Server
Shutting down the Network Server
Setting port numbers