Use the runtimeinfo command or getRuntimeInfo method
to get memory usage and current session information about the Network Server
including user, database, and prepared statement information.
The getRuntimeInfo method returns the same information as
the runtimeinfo command. The signature for the getRuntimeInfo method
is String getRuntimeInfo(). For example:
NetworkServerControl serverControl = new NetworkServerControl();
String myinfo = serverControl.getRuntimeInfo();