system_stats
Retrieve comprehensive panel statistics including users, nodes, traffic, memory, and CPU usage to monitor system performance and resource allocation.
Instructions
Get overall Remnawave panel statistics (users, nodes, traffic, memory, CPU)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/system.ts:9-21 (handler)The implementation of the 'system_stats' tool handler. It calls `client.getStats()` and wraps the result.
server.tool( 'system_stats', 'Get overall Remnawave panel statistics (users, nodes, traffic, memory, CPU)', {}, async () => { try { const result = await client.getStats(); return toolResult(result); } catch (e) { return toolError(e); } }, );