Configuration
Configuration
Overview
Configuration Options
Example
const MonitoringDashboard = require('sysmonitoring');
const monitoring = new MonitoringDashboard({
port: 4000, // Server will listen on port 4000
showCpuLoad: true, // Show CPU load
showMemoryUsage: true, // Show memory usage
showPing: true, // Show system latency
refreshInterval: 1000 // Refresh data every second
});
monitoring.startServer(); // Start the serverLast updated