Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_process_cpu

Rating
1 vote
Favoured:
0
Hits
95649
Files:
FileDescription
check_process_cpu.pycheck_process_cpu

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

A plugin for nagios to check percent of CPU use of processes during a given interval.
A nagios plugin script in python that calls top. This command does offer the percentage of CPU during a given interval, not for the whole lifetime of the process, like ps does. Additionally, with this script, one is able to monitor all the processes with the same name and check which one has the highest percent of CPU. Finally, there is a limitation in the top command, that it only allows up to twenty processes to be monitored at once, given their PID. In order to get over this limitation, a pool of threads is used and launches parallel top forks with twenty PIDs each.
Reviews (1)
byfriendyogi, December 4, 2013
There is no help or syntax guide for this pything script. Could you mention it?