ContentsIndexPreviousNext

7.2.5 acuserve -kill

"acuserve -kill" 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.

To use "-kill" you must be logged onto a UNIX server as root or superuser or onto a Windows NT/Windows 2000 server from the Administrator account or from an account that belongs to the Administrators group.

acuserve attempts to close all open files before shutting down.

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

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 to kill. 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, e.g., "6524". If no port number is specified, then the default port is terminated.


CAUTION: The acuserve process can also be terminated from the command line. For example, on UNIX you could use the command "kill -9" (signal #9). However, a signal #9 prevents acuserve from performing an orderly shutdown and should never be used when clients are actively using AcuServer.