You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# time /opt/sensu/embedded/bin/metrics-cpu-pcnt-usage.rb | grep real
real 0m1.123s
user 0m0.116s
sys 0m0.006s
# time /opt/sensu/embedded/bin/metrics-cpu-mpstat.rb | grep real
real 0m1.125s
user 0m0.117s
sys 0m0.007s
# time /opt/sensu/embedded/bin/metrics-cpu.rb | grep real
real 0m0.124s
user 0m0.116s
sys 0m0.008s
Ran multiple iterations and the two additional versions seem to always take a second or longer to execute, is the a reason behind this?