Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
@neozaga
Member Since: January 23, 2017
Favorites0
Views
Projects0
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)
Reviewed 9 years ago