Managing Process Execution with Conductor Script

Monitoring and Managing Engine Sessions

This section describes how to perform a number of tasks regarding the monitoring and managing of sessions:

obtaining state information about a session

suspending or terminating sessions

sending messages to sessions

To obtain state information about a session

1.Use the FindEngine command to make a particular engine current

2.Use the ListSessions command to display a list of sessions with the current engine.

3.Use the CreateFilter command to filter the list of sessions, if desired.

4.Use the ListSessions command to display a list of filtered sessions.

5.Use the ShowSession command to display state information about a particular session.

To suspend or terminate a session

1.Display a list of sessions as described in Step 1 through Step 4 above.

2.Enter SuspendSession, TerminateSession, SuspendAllSessions, or

TerminateAll Sessions to suspend or terminate one or all sessions.

NOTE A session that has in-progress two-phase commit operations can be suspended, but cannot be terminated. For more information, see “Monitoring and Managing Two-Phase Commit” on page 199.

To send a message to one or more sessions

1.Use the SendMessage or BroadcastMessage command, depending on whether you want to send a message to one session or to all sessions.

250 iPlanet Integration Server • Process System Guide • August 2001

Page 250
Image 250
Sun Microsystems 3 manual Monitoring and Managing Engine Sessions, To suspend or terminate a session