Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 5 Administering iProcess Engine Server Processes : Using SWDIR\util\swsvrmgr to Administer Server Processes : Issue a Shutdown Event

Issue a Shutdown Event
You can issue a SHUTDOWN event to shut down:
To issue a SHUTDOWN event, use the following command:
swsvrmgr SHUTDOWN [machine_name | machine_id [process_name [instance]]]
[-T timeout]
where:
machine_name is the name of the server.
machine_id is the unique identifier of the server. You can find a server’s identifier using the swsvrmgr status command.
process_name is the process name of the server process you want to stop, and must be one of: BG, BGPREDICT, DBQD, DLMGR, IAPJMS, SPO or DIRECTOR. If any other process name is specified, the command fails and an error message is displayed.
instance is the instance of the process to stop.
timeout is the optional timeout period that can be used to specify the time after which the command will terminate. If this is not specified, the default is 60 seconds.
When you issue a SHUTDOWN event, the swsvrmgr utility will test events automatically. If the events do not work, Process Sentinels will not stop processes. See Test Events for more information.
The result of the attempt to shutdown each process is displayed on the screen and a final status is displayed at the end.
Example
The following command shuts down the third instance of a background process on the server with Machine ID 1.

 

 
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved