Issue a Restart Event
You can issue a RESTART event to manually restart a suspended process (one that has stopped and not been automatically restarted).
To issue a RESTART event, use the following command:
swsvrmgr RESTART [ 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. |
| • | instance is the instance of the process to restart. |
| • | 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
To restart the third instance of the background process (BG) that is operating on the computer called Hercules using the default timeout, you would issue the following command:
swsvrmgr RESTART hercules bg 3BG 3 STARTEDProcess(es) successfully started