[Nagiosplug-devel] Re: check_procs ELAPSED [patch]

Edward J. Sabol sabol at alderaan.gsfc.nasa.gov
Fri Jun 3 07:13:24 CEST 2005


Sean Finney wrote:
> i've committed the first of the two patches, but have a question about
> the second:

> On Wed, Jun 01, 2005 at 06:49:48PM -0400, Edward J. Sabol wrote:
>> -dnl Some gnu/linux systems (debian for one) don't like -axwo and need axwo.
>> +dnl Some gnu/linux systems (debian for one) don't like -axwo and need axwwo.
>
> why the two w's?

Yeah, I'm not actually all that sure about the configure.in patch. All I know
is that it worked for me. I don't know how other OSes will cope.

As for the two w's specificaly, when I added "etime" to the output, the `ps'
command truncated the args even more. A second w causes the complete command
arguments to be displayed. That just seemed like a good idea to me. Honestly,
I think it should probably be in all of the `ps' commands, but I'll leave
that to someone else.

Later,
Ed




More information about the Devel mailing list