Build precise queries to find exactly what you need
Press ESC to close
The only thing I’d recommend is that you look at actually re-iterating the check of the stats so you can do a couple of things. First, it’ll give you more than just a single point in time, but secondly, you can provide actual CPU %’s instead of just raw time output.
Specifically, you would need to grab the data, wait a second and then grab the data again which you could then use math to calculate percentages. From there if you wanted to be really fancy you could all an average of x runs of the command to give a more “real” look into the system.
Overall, good work.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!