get_socket_summary
Summarize TCP socket counts by state, port, process, and peer to diagnose connection leaks, port exhaustion, dead upstreams, and floods.
Instructions
TCP connections counted by state, port, process and peer: leaks (CLOSE-WAIT), port exhaustion (TIME-WAIT), dead upstreams (SYN-SENT), floods, full pools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>"
},
"name": "get_socket_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| timeout | No | ||
| key_path | No | ||
| password_env | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||