sensu-plugins / sensu-plugins-process-checks

This plugin provides native process instrumentation for monitoring and metrics collection, including: process status, uptime, thread count, and others.
http://sensu-plugins.io
MIT License
20 stars 55 forks source link

check-process.rb --propotional-set-size seems to check CPU utilization #36

Closed maoe closed 7 years ago

maoe commented 7 years ago

It seems to me that -P aka. --propotional-set-size checks CPU utilization rather than propotional set size.

majormoses commented 7 years ago

@maoe can you please submit a pr to propose a fix?

maoe commented 7 years ago

Sorry I don't have the time to make a proper PR but I'd say we just rename the long option name to something like --cpu-utilization.

majormoses commented 7 years ago

released: https://rubygems.org/gems/sensu-plugins-process-checks/versions/2.0.0