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 Pause or Unpause Event

Issue a Pause or Unpause Event
You can issue a PAUSE event to pause:
The following server processes can be paused:
Similarly, you can issue an UNPAUSE event to restart any previously PAUSED process.
To issue a PAUSE or UNPAUSE event, use the following command:
swsvrmgr PAUSE | UNPAUSE [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.
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.
Example
The following command pauses the third instance of the background process on server hercules.

 
swsvrmgr PAUSE hercules BG 3
BG 3 PAUSED
Process(es) successfully paused

 
 
The following command restarts the same background process.
swsvrmgr UNPAUSE hercules BG 3
 

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