[Nagiosplug-devel] check_procs problem
Subhendu Ghosh
sghosh at sghosh.org
Tue Jan 7 19:58:04 CET 2003
On Tue, 7 Jan 2003, James Fidell wrote:
> Does anyone have check_procs working with the -a option on FreeBSD?
>
> It appears that check_procs uses the command
>
> /bin/ps waxco 'state uid ppid command command'
>
> but as far as I can see, FreeBSD ps doesn't display the arguments
> for the keyword "command" and doesn't have an option to display the
> arguments separately, either.
>
> James
>
Does the following work on FreeBSD? (one liner from configure.in)
ps waxco 'state command vsz rss uid user ppid' 2>/dev/null | egrep -i
"^STAT +COMMAND +VSZ +RSS +UID +USER +PPID"
--
-sg
More information about the Devel
mailing list