System Documentation

VPS Commander Elite V4 is built on a high-concurrency architecture that separates data telemetry from the UI thread to ensure zero-latency monitoring even on low-resource client machines.

VPSMonitor Core Logic

The core logic handles the SSH/SFTP multiplexing via the Paramiko library. It executes optimized shell commands on the remote VPS to extract raw system data.

get_stats()

The main telemetry engine. It groups multiple system calls into a single SSH execution to minimize network overhead.

# Telemetry command grouping example cmd = cat /proc/meminfo | grep -E 'MemTotal|MemAvailable'; cmd += docker stats --no-stream --format '{{.Name}}|{{.CPUPerc}}';

get_shell()

Initializes a pseudo-terminal (PTY) on the remote system to provide the interactive Shell tab functionality.

UI & Theme Engine

Built using PySide6 (Qt for Python). The interface leverages a custom CSS injection system for true glassmorphism effects.

ChartWidget

A custom QWidget implementation using QPainter to render real-time vector graphs with anti-aliasing and gradient fills.

Data Pipeline

The application uses a dual-frequency polling strategy:

Security Protocol

Absolute privacy was our primary goal for V4.0.

1. Zero Cloud: All connection strings and private keys are stored exclusively in your local vps_config.json.

2. RSA/Ed25519: Supports the latest cryptographic standards for SSH authentication.

3. Stream Isolation: Monitoring data never touches a 3rd party server; it is a direct encrypted tunnel between your desktop and your VPS.