[Pkg-nagios-devel] Bug#540107: Bug#540107: nagios-plugins: ps syntax doesn't support etime

Justin T Pryzby justinpryzby at users.sourceforge.net
Wed Aug 5 20:27:38 UTC 2009


Hi Jan,

Check this output:

justinp at justinp:~$ /usr/lib/nagios/plugins/check_procs -vv |head
CMD: /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'

justinp at justinp:~$ uptime; /usr/lib/nagios/plugins/check_procs -m ELAPSED -w 1 -c 2
 13:24:30 up 21 days,  3:58,  3 users,  load average: 0.00, 0.00, 0.00
ELAPSED OK: 128 processes

justinp at justinp:~$ /usr/lib/nagios/plugins/check_procs -vvv -m ELAPSED |grep -F etime= |grep -Fv 'etime= '
S+    1000 11851 11588   5160   652  0.0 grep            grep -F etime=





More information about the Pkg-nagios-devel mailing list