SolarVox Monitor Documentation
Overview
SolarVox Monitor is a system monitoring tool built on Electron and Node.js. It provides real-time CPU, RAM, disk usage, temperature readings, and process management with notifications.
Getting Started
Install the application for your OS and run the executable or AppImage file. The monitor automatically runs in the system tray and provides notifications.
Core Modules
- CPU Monitoring: Monitors CPU load with a fallback method for older systems.
- RAM Monitoring: Tracks total and used memory.
- Disk Monitoring: Tracks usage and capacity.
- Temperature Monitoring: Monitors CPU temperature and triggers alerts.
- Process Management: List and kill processes by PID.
- Notifications: Desktop notifications for warnings and events.
Installation (Linux AppImage Example)
chmod +x "SolarVox Monitor-1.0.0.AppImage"
./"SolarVox Monitor-1.0.0.AppImage"
Example Code Snippet
const { app, BrowserWindow, ipcMain, Tray, Menu, Notification } = require('electron');
app.whenReady().then(() => {
const win = new BrowserWindow({ width: 800, height: 600 });
win.loadFile('index.html');
new Notification({ title: 'SolarVox', body: 'Monitoring started' }).show();
});
IPC Commands
ipcRenderer.send('kill-process', PID): Kill a specific process by PID.ipcRenderer.send('update-settings', settings): Update thresholds and polling interval.ipcRenderer.send('quit-app'): Quit the monitor application.
Tips
- Use the tray icon to quickly show/hide the monitor.
- Adjust thresholds for CPU, disk, and temperature to receive timely alerts.
- For Linux AppImage, consider creating a desktop shortcut for easier access.