Ever wonder how Nagios’s check_proc finds processes? ┬áHere is the command check_proc runs on Linux systems.

/bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'

If you find check_proc is not locating your processes, run the above command on the command line and you see what check_proc sees.