ksp monitor
DocsCLIksp monitor

ksp monitor

Command Reference

Real-time top-like terminal interface showing active KSP sessions, stream bandwidth, and packet drop counters.

Networking & Diagnostics

Purpose

Real-time top-like terminal interface showing active KSP sessions, stream bandwidth, and packet drop counters.

Syntax

Command-line specification
bash / powershell
ksp monitor [OPTIONS]

Options & Flags

Option FlagDescription
--refresh <MS>Refresh rate in milliseconds (default: `500`).
--server <URI>Monitor a remote server instance via KSP telemetry stream.

Example Usage

Example command
ksp monitor --refresh 250

Expected Output

KSP Real-Time Monitor (Updated every 250ms) — Server: 127.0.0.1:9876
┌────────────────────────────────────────────────────────────────────────┐
│ Sessions: 12 Active | Streams: 48 Open | Bandwidth: 142.4 MB/s         │
├────────────┬──────────────────┬───────────┬─────────────┬──────────────┤
│ SessionID  │ Client IP        │ Streams   │ Down Rate   │ Up Rate      │
├────────────┼──────────────────┼───────────┼─────────────┼──────────────┤
│ 0x4B9E3A   │ 192.168.1.102    │ 8 active  │ 84.1 MB/s   │ 12.0 MB/s    │
│ 0xA91E88   │ 10.0.0.45        │ 2 active  │ 4.2 MB/s    │ 0.5 MB/s     │
└────────────┴──────────────────┴───────────┴─────────────┴──────────────┘
Implementation Notes

Provides instant visibility into traffic bursts and connection pools for DevOps and SRE teams.