pcp
[Top] [All Lists]

Re: PATH setting for PCP daemons and PMDAs

To: "James Peach" <jamespeach@xxxxxxx>
Subject: Re: PATH setting for PCP daemons and PMDAs
From: nscott@xxxxxxxxxx
Date: Sat, 12 Apr 2008 06:03:17 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
Importance: Normal
In-reply-to: <9D97D5D7-E318-478E-A2D9-73DF3191ED18@xxxxxxx>
References: <1207897392.21048.274.camel@xxxxxxxxxxxxxxxxx> <9D97D5D7-E318-478E-A2D9-73DF3191ED18@xxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.8-4.el4.centos
> On 11/04/2008, at 12:03 AM, Nathan Scott wrote:
>>
>> - the platform-specific part could be replaced by a
>> pcp.conf variable $PCP_PLATFORM_PATHS, which sysadmins
>> can add to if they have "special" PATH needs for custom
>> PMDAs, like me!
>
> Sounds OK. IMHO PCP should (by default) only look in the minimum set
> of paths ... /usr/bin and friends

Its occurred to me since we last discussed this why it is as it is - the
open source PCP build and runtime has a heavy dependency on many
GNU tools (like gmake, esp).  These are often not on the usual PATH,
and are squirrelled away someplace special - except on Linux and
Mac OS X and Cygwin, where they are the default tools.

For those platforms, and now that we changed the configure AWK test,
which looks in all manner of places, I think we can safely remove some
of the PATH extensions, for those platforms.

>> /usr/bsd - FreeBSD
>> /usr/etc - IRIX
>> /usr/bin/X11 - UNIX platforms
>> /usr/local/bin - UNIX platforms
>> /opt/sfw/bin - ?
>
> Sun Freeware
>

Taa.

>>
>> /usr/ccs/bin - ?
>
>
> solaris BSD compat subsystem?
>

Yep - google found it, and also mail saying its been deprecated for awhile
(in favour of /usr/bin, etc).

>>
>> /cygdrive/c/WINDOWS/system32 - Windows/Cygwin
>> /usr/contrib/bin - ?
>> /opt/local/bin - Mac OS X
>
> MacPorts - There is the fink project, which sold we /sw/bin
>

I think I'm finally convinced we can drop these two. :)

The one remaining oddity I see is that "/etc" is part of the default PCP
path ... anyone know  why that might be?  Was that a need from IRIX?

cheers.

--
Nathan


<Prev in Thread] Current Thread [Next in Thread>