epadmin-connection
epadmin connection target — Displays or closes client and JDBC connections to an EventFlow fragment.
DESCRIPTION
Use the connection target to retrieve information about client connections or JDBC connections, and to optionally close one or more connections.
The connection target has two commands:
The designation [
in syntax examples is a reminder that this command requires either the global parameter sn
|ad
]‑‑servicename
or the ‑‑adminport
and ‑‑hostname
combination to identify the node or cluster of interest.
epadmin display connection
Displays information about client and JDBC connections to the specified nodes. This command reports the same information as the legacy sbadmin listConnections and sbadmin manageJdbcConnections commands.
epadmin[
display connection epadminsn
|ad
][
display connection name=2A8DA8330F92A3A8566FF620AF39408B epadminsn
|ad
][
display connection --engine=sn
|ad
]enginename
epadmin[
display connection --type=jdbc epadminsn
|ad
][
display connection --type=jdbc --name="MySQL5lab"sn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine |
Engine name filter. | No. The default is to display all connections on all engines. |
name |
For client connections, name is a connection ID as reported by this command, which is a 32 character GUID assigned by the StreamBase server. For example,
if you run this command with a cluster service name that has many client connections, use name= in subsequent commands to narrow the results to a single connection.
For JDBC connections, |
No. The default value is all connections. |
type |
Connection type filter, one of client or jdbc .
|
No. The default value is client .
|
epadmin close connection
Closes a specified client or JDBC connection, or closes all connections by engine name or type. This command performs the same tasks as the legacy sbadmin killConnection connectionID, sbadmin killConnections, and sbadmin manageJdbcConnections close commands.
epadmin[
close connection epadminsn
|ad
][
close connection name=2A8DA8330F92A3A8566FF620AF39408B epadminsn
|ad
][
close connection --engine=an-engine-name epadminsn
|ad
][
close connection --type=jdbc epadminsn
|ad
][
close connection --type=jdbc --name="MySQL5lab"sn
|ad
]
Command Parameter | Description | Required |
---|---|---|
engine |
Engine name filter. | No. The default is to close all connections on all engines. |
name |
Connection ID or Data Source name as described above for the display command. | No. The default value is all connections. |
type |
Connection type filter, one of client or jdbc .
|
No. The default value is client .
|