Command line reference : fmsadmin commands : STOP command
 
STOP command
Format
fmsadmin STOP [TYPE] [options]
Description
Stops the server or process of the specified TYPE.
Valid TYPES
ADMINSERVER: Stops the Admin Server. If you stop the Admin Server process by using the fmsadmin STOP ADMINSERVER command, FileMaker Server stops monitoring the process, but the auto-restart setting is not changed.
FMSE: Stops the FileMaker Script Engine.
FMSIB: Stops the progressive backup process.
SERVER: Stops the Database Server. By default, all clients are disconnected after 90 seconds.
WPE: Stops the Web Publishing Engine.
XDBC: Stops the XDBC Listener that is used for communicating with ODBC and JDBC applications.
Options (applicable to SERVER only)
-f, --force
Expedites shut down of the Database Server. All clients are immediately disconnected.
-m message, --message message
Specifies a text message to send to the connected clients.
-t seconds, --gracetime seconds
Specifies the total number of seconds to wait before forcing disconnection of clients. The default (and minimum) value is 90 seconds.
For example, if you type
fmsadmin stop server --gracetime 120
clients see a dialog box immediately and can click Close Now or Cancel. If the client does not click a button, the client is disconnected in 30 seconds. If the client clicks Cancel, the dialog box will reappear 45 seconds before the specified time limit (120 seconds). If the client clicks Close Now at this point, the client is disconnected immediately. If the client clicks Cancel again, the client is disconnected after another 45 seconds.
The gracetime option is available only if the --force option is not used.
Related topics 
AUTORESTART command
CLOSE command
DISCONNECT command
LIST command
RESTART command
START command
Starting or stopping FileMaker Server components
Command line reference