BptServerMonitor
The BptServerMonitor component displays real-time server metrics including CPU utilization (total and per-core), GPU usage, memory consumption, network throughput, and a process list. Each metric module can be independently toggled via parameters. In Server mode, metrics are collected directly using platform-specific APIs. In WebAssembly mode, metrics are streamed from the server via a SignalR hub. Supports Dark, Light, Nvidia, and Asus ROG themes, frameless mode, and configurable refresh intervals down to 1000ms.
Monitor Parameters
Server Monitor
CPU
—
GPU
N/A
GPU metrics unavailable on this system
Memory
—
Network
No active network interfaces detected
Current Configuration
📋
[+]
Program.cs Setup
using Bpt.Components.Tools;
// In your Program.cs pipeline:
app.MapBptServerMonitorHub();
Required for WebAssembly mode. Server mode works without hub registration but the hub is still recommended for WASM support.Metrics by Platform
Windows
- CPU: total + per-core via GetSystemTimes / NtQuerySystemInformation
- Memory: system-wide via GlobalMemoryStatusEx
- GPU: NVIDIA via nvidia-smi
- Network: .NET NetworkInterface API
- Processes: full list with CPU%
Linux
- CPU: total + per-core via /proc/stat
- Memory: system-wide via /proc/meminfo
- GPU: NVIDIA via nvidia-smi
- Network: .NET NetworkInterface API
- Processes: full list with CPU%
macOS
- CPU: total only (process aggregate fallback)
- Memory: GC memory info + process working set
- GPU: not available
- Network: .NET NetworkInterface API
- Processes: limited (sandbox restrictions)