rp_kill

Description

Shut down a group of OpenSwitch connections.

NoteYou can also use OpenSwitch Manager to terminate connections.

Syntax

rp_kill [pool_name, srv_name, spid]

Parameters

pool_name

The name of the pool for which the connections should be shut down. Supplying only this argument causes all connections within pool_name to be shut down.

srv_name

Shuts down connections to remote server srv_name. Supplying only this argument causes all connections to srv_name to be shut down.

spid

Shuts down the connection identified within OpenSwitch by spid. If this argument is specified, pool_name and srv_name are ignored.

Examples

Example 1

Shuts down the OpenSwitch connection represented by spid 8 (as identified by rp_who).

1> rp_kill NULL, NULL, 8
2> go

Example 2

Shuts down all connections currently established to pool POOL_A.

1> rp_kill "POOL_A", NULL, NULL
2> go

Example 3

Shuts down all connections currently established to pool POOL_A on server SYB_SERV2.

1> rp_kill "POOL_A", "SYB_SERV2", NULL
2> go

Usage


Messages

See also

rp_cancel, rp_who, sp_who