Monitor CPU usage of program matching a RegEx pattern
This repository has been archived on 2024-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-11-08 08:48:42 +01:00
.woodpecker Initial commit 2023-11-08 08:48:42 +01:00
.gitignore Initial commit 2023-11-08 08:48:42 +01:00
go.mod Initial commit 2023-11-08 08:48:42 +01:00
go.sum Initial commit 2023-11-08 08:48:42 +01:00
justfile Initial commit 2023-11-08 08:48:42 +01:00
main.go Initial commit 2023-11-08 08:48:42 +01:00
README.md Initial commit 2023-11-08 08:48:42 +01:00

cpuwatch

Monitor CPU usage of a process matching a RegEx pattern

Usage of ./cpuwatch:
  -grace int
        Grace period in seconds after a notification is sent (default 300)
  -interval int
        Interval in seconds to check the processes (default 30)
  -regex string
        Regular expression to match process name
  -threshold float
        CPU usage threshold (default 66)