Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_process_cpu
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?