Home Directory

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

Directory Tree

Directory

neozaga

Reviews(1)
byneozaga, January 23, 2017
Hi,

Made this improvment

line 73:
nbproc=$(ps -A -o cmd | grep -w $proc | grep -v grep | grep -v $0 | wc -l)

so that you can search the full command line and not to find itself. (I know grep -v grep is ugly)