AcuServer provides you with two easy ways to quickly determine whether acuserve is currently installed as a Windows service, as well as to view any start-up parameters that have been stored for the service.
From the command line, use the acuserve -query command.
Optional arguments to -query include:
Option | Description |
---|---|
server | Specifies the name of the server machine. If no server is specified, the server is assumed to be the local host. |
-n | Identifies a particular instance of the acuserve program by port number. The -n must be followed by a space and then an integer, for example, 6524. If no port number is specified, the default port (which has the service name Acuserve) is queried. |
When you enter this option, you receive a message stating whether or not the service is installed, and if it is, whether or not the service is currently running. The -query command also displays the start-up parameters that have been stored for the service, if any. For example:
C:> acuserve -query
Service 'AcuServer' (AcuServer 8.0 on the default port (6523)) exists
Start Up: Automatic
Program: 'C:\Program Files\Acucorp\Acucbl810\AcuGT\bin\acuserve.exe'
Startup arguments: '-c %PROGRAMDATA%\Micro Focus\extend\10.5.1\server1.cfg -le c:\tmp\server1.log'
Status: running
C:>
Note that the startup arguments listed are the arguments used to install the service, and may not be the arguments given to the currently running server.
From the AcuServer Control Panel, select the Services tab. This tab provides a list of all installed services. Services are listed by port number, with a summary of the arguments used by each process listed in the Command Line field. A green bullet next to the port number indicates that the service is currently running, while a red bullet indicates a service that is stopped.
To obtain further information about the installed services, select a service and click Properties. This opens the Service Properties window, which provides a more detailed breakdown of the service properties summarized in the Command Line field on the Services tab.