424 B
424 B
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)