Obtaining system information by using the API The getSysinfo method produces the same information as the sysinfo command. Network Serversysinfo method Network Serversystem information, obtaining

The signature for this method is

String getSysinfo();

For example:

NetworkServerControl serverControl = new NetworkServerControl(); String myinfo = serverControl.getSysinfo();

The getSysinfo method returns information about the Network Server that is running on the current machine on the default port number (1527).