jagtool

The jagtool commands getserverinfo and getserverstate allow you to get additional information about the server status. getserverinfo returns the server status and version number. getserverstate queries the state of service components and is useful in scripts that start or restart servers; you can use it to determine whether the server is ready to accept client connections by checking whether the name service status is “STOPPED.” Custom services can implement an additional method, getServiceState, to allow jagtool to query their status. For more information, see: