Skip to content

reply2future/dmonitor

Repository files navigation

dmonitor

coverfdd1c0032d416d64.png

codecov Maintainability JavaScript Style Guide: Standard Electron Version

It will notify you before the battery is draining too fast like a prophet.

How

The monitor will collect the cpu usage information, if the median of cpu usage is bigger than threshold during the sliding window time, it will send a notification to you about the process id and command name, so you can kill the process.

Use Case

  1. macos mail app high cpu usage
  2. forget to close the benchmark process

Features

  1. notify when the process is draining too fast
  2. silent time for compiling
  3. kill the process manually

Usage

  1. downloaded the latest version from release page
  2. unzip the package
  3. click dmonitor-x.x.x.dmg to install.
  4. open the app and set for unidentified developer
  5. turn on the monitor in the menu bar

Compatibility

Linux macOS Win
ℹ️

✅ = Working
ℹ️ = Not Accurate
❓ = Should Work
❌ = Not Working

Development

  1. electron.js
  2. node.js >= 16
  3. nvm to manager node version

Contribute

  1. open a issue if it does not exist
  2. fork the repo
  3. create the branch like feature/issue#1_xxxx or bugfix/issue#1_xxx
  4. pull request if you finished it.