How aashay404/system-monitor works
System Monitor is a live system-monitoring dashboard. Users navigate among overview, process, hardware, and network views; the sampled overview and process pages poll backend endpoints, while the process view can request termination by PID. The backend gathers OS metrics through systeminformation and serves API responses. Hardware and network views are documented capabilities, but their source was not sampled, so their specific API calls are shown as unverified. The tree’s sidebar filename does not match the import path shown in App.jsx.
Main entry points: App.jsx App router · Processes.jsx Process monitor · Home.jsx System overview · Hardware.jsx Hardware view
Components 13
Dashboard UI
- App router
system-monitor/src/App.jsx - Navigation sidebar
system-monitor/src/layout/Sizebar.jsx
Monitoring Views
- System overview
system-monitor/src/pages/Home.jsx - Process monitor
system-monitor/src/pages/Processes.jsx - Hardware view
system-monitor/src/pages/Hardware.jsx - Network view
system-monitor/src/pages/Network.jsx
Metrics API
- Overview endpoint
backend/server.js - Process endpoint
backend/server.js - Hardware endpoint
backend/server.js - Network endpoint
backend/server.js - Process termination
backend/server.js
Other components
- Dashboard user
- systeminformation
Connections 14
- Dashboard user → App router: opens dashboard
system-monitor/src/App.jsx - App router → System overview: routes to
system-monitor/src/App.jsx - App router → Process monitor: routes to
system-monitor/src/App.jsx - App router → Hardware view: routes to
system-monitor/src/App.jsx - App router → Network view: routes to
system-monitor/src/App.jsx - System overview → Overview endpoint: polls metrics
system-monitor/src/pages/Home.jsx - Process monitor → Process endpoint: polls processes
system-monitor/src/pages/Processes.jsx - Process monitor → Process termination: requests termination
system-monitor/src/pages/Processes.jsx - Hardware view → Hardware endpoint: requests details
- Network view → Network endpoint: requests traffic
- Overview endpoint → systeminformation: reads system metrics
backend/server.js - Process endpoint → systeminformation: reads process list
backend/server.js - Hardware endpoint → systeminformation: reads hardware data
backend/server.js - Network endpoint → systeminformation: reads network stats
backend/server.js