Stopping from the Command Line

The acuserve -kill command causes the acuserve process to be halted (killed). If no server is specified, the acuserve process is halted on the current host; otherwise, the process is halted on the named host.

Unless the -f option is specified, acuserve prompts for confirmation before the halt action is executed, as shown below.

Shutting down acuserve on: condor 
There are 0 files in use by acuserve on: condor 
Do you really want to shut down acuserve [N]?

Respond by entering Y or N.

Optional arguments to -kill include:

Option Description
server     Specifies the name of the server machine on which to kill the acuserve process. If no server is specified, the server is assumed to be the local host.
-f Causes the acuserve process to terminate immediately, without prompting for confirmation. -f should be used when acuserve -kill is included in a program or script.
-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 is terminated.
Note: If you issue the acuserve -kill command while an ACUCOBOL-GT Web Runtime is connected to the server, the connected client program (and browser window) will hang.