Operating System & Hardware (os)
Low-level telemetry and control over the host machine's hardware and process tree.
The os module provides deep insights into the physical and logical state of the server. Delegated to the **XHSC engine**, hardware queries execute outside the Node.js event loop for maximum accuracy and zero performance impact.
Hardware Telemetry
CPU Load
Real-time telemetry for aggregated load or individual logical cores.
const load = __sys__.os.cpu(); // Aggregated
const cores = __sys__.os.cpu(true); // Per-core statsMemory & Swap
Precise reporting of available, used, and total physical RAM.
const ram = __sys__.os.memory();Storage volume monitoring.
Deep architectural snapshot.
Process & Network Management
.processes(options?)
Natively queries the process tree. Internal XyPriss processes are automatically excluded from the results.
// Find top 3 memory-intensive processes
const topMem = __sys__.os.processes({ topMem: 3 });.ports()
Inspect active networking sockets and PIDs.
.kill(target)
Terminate processes by PID or exact name.
Extended Features
Comprehensive system/OS snapshot.
IO stats and interface throughput.
Temporal watch on specific PID.
Sensors & Environment
Thermal sensor data.
Power & charging state.
Aggregated health report.
User home directory.
High-performance suite for string manipulation, data validation, and logic.
