Skip to content

SysResource is a real-time server resource monitoring tool that tracks CPU usage, memory utilization, and system uptime. It provides detailed metrics on server configurations like hostname, CPU cores, platform, and architecture, with real-time line charts for CPU and memory usage.

License

Notifications You must be signed in to change notification settings

HarmanPreet-Singh-XYT/SysResource

Repository files navigation

SysResource

SysResource is a powerful system resource monitoring tool that allows you to track server performance metrics such as CPU usage, memory utilization, and uptime. It provides detailed information about server hardware and software configurations, with a user-friendly interface that includes real-time charts and sound alerts for system thresholds and server downtime. It supports WebSocket and API integrations, offering flexible options for monitoring multiple servers.

Features

  • Server Monitoring: Monitor CPU, memory, uptime, hostname, CPU cores, total memory, free memory, platform, type, architecture, environment, and more.
  • Charts: Real-time line chart representations for CPU and memory usage.
  • Grouping: Organize servers into groups for better management and separation.
  • Alerts: Sound notifications when a server goes down or resource usage surpasses thresholds.
  • WebSocket & API: Two options to monitor resources – via WebSocket or API.
  • Settings: Configure API interval, max retries, and store settings in local storage.
  • Documentation: Comprehensive documentation to help you get started.

Installation

  1. Clone the repository:

    git clone https://github.com/HarmanPreet-Singh-XYT/SysResource.git
    cd SysResource
  2. Install dependencies:

    npm install
  3. Start the application:

    npm run dev

Usage

After installation, open the application in your browser. You'll be able to:

  • Monitor system resources such as CPU and memory in real-time.
  • Group servers based on different criteria.
  • Set custom API intervals and max retry attempts, stored in local storage.
  • Use WebSocket or REST API to fetch system data.
  • Receive sound alerts when servers go down or resources exceed configured thresholds.

API Documentation

Sysresource exposes several APIs to fetch server data. Below is an example of how to use the API:

  • Get Server Data:
    GET /sysresource
  • Response
    {
    "hostname": "DESKTOP-S283TVV",
    "cpuUsage": 34,
    "cpu": "Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz",
    "cpuCore": 8,
    "totalMemory": 17108,
    "freeMemory": 4767,
    "release": "10.0.19045",
    "platform": "win32",
    "uptime": 2925,
    "type": "Windows_NT",
    "machine": "x86_64",
    "architecture": "x64",
    "environment": "NodeJS"
    }

For complete API documentation, visit API Docs

Settings

You can configure several settings for sysresource:

  • API Interval: Set the interval for API requests.
  • Max Retries: Define the maximum number of retries for failed API requests.
  • Local Storage: All settings are stored locally for persistence.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request.

License

This project is licensed under the MIT License – see the LICENSE file for details.

About

SysResource is a real-time server resource monitoring tool that tracks CPU usage, memory utilization, and system uptime. It provides detailed metrics on server configurations like hostname, CPU cores, platform, and architecture, with real-time line charts for CPU and memory usage.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks