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