pcp
[Top] [All Lists]

Detecting PCP Installation Location?

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: Detecting PCP Installation Location?
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Wed, 4 May 2016 12:35:22 +0300
Delivered-to: pcp@xxxxxxxxxxx
Organization: Red Hat
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
Hi,

Do we know the paths pcp.conf might live on "typical" non-Windows
installations? On Linux it's most likely /etc/pcp.conf, on BSDs perhaps
/etc/pcp.conf or /usr/local/etc/pcp.conf (?), how about OSX or Solaris?
IOW, if I try to detect PCP_SYSCONF_DIR from /etc/pcp.conf and if that
fails, then from /usr/local/etc/pcp.conf, should it most likely work on
Linux/BSD/OSX/Solaris?

Note that I'm not much interested in test installations where it could
be /tmp/pcp/etc/pcp/pcp.conf, in those cases it's up to the user to deal
with it.

Thanks,

-- 
Marko Myllynen

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