Linux

Check process runtime

Description:

A script that checks, if a given process has exceeded a defined runtime in seconds

Current Version

Last Release Date

June 16, 2009

Compatible With


Project Files
Project Notes
command: /usr/local/nagios/libexec/check_proc_time.sh -p -w -c expects parameters: p) a pattern to grep the processlist w) runtime in seconds as a threshold for warning state c) runtime in seconds as a threshold for critical state uses: - ps - grep - awk
Reviews (1) Add a Review
Time calc wrong
by formwandler, April 30, 2012

The time calculated in seconds is wrong on my actual Linux system. check_proc_age.sh works better.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
2 (2)
Favorites
0
Views
155,088