| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Marko Myllynen <myllynen@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] Detecting PCP Installation Location? |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Wed, 4 May 2016 18:40:15 -0400 (EDT) |
| Cc: | pcp developers <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <572A6242.1080106@xxxxxxxxxxxxxxxx> |
| References: | <5729C25A.1050905@xxxxxxxxxx> <572A6242.1080106@xxxxxxxxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx> |
| Thread-index: | Z6qjdgiVKDHSyY24dbzVY52nLAQY2A== |
| Thread-topic: | Detecting PCP Installation Location? |
----- Original Message ----- > On 04/05/16 19:35, Marko Myllynen wrote: > > 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. > > Marko, > > On all platforms it can be found in $PCP_DIR/etc/pcp.conf ... and for > all platforms (that I know about, today), $PCP_DIR is unset by default. > It's only Windows that sets this, no other platforms. It has occasionally been used for other purposes (testing & a Red Hat SCL prototype, once upon a time). cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug 1332014] SELinux is preventing pmdalinux from using the 'net_admin' capabilities., bugzilla |
|---|---|
| Next by Date: | Re: [pcp] CPU metris in Percentage instead of millisec, Nathan Scott |
| Previous by Thread: | Re: [pcp] Detecting PCP Installation Location?, Ken McDonell |
| Next by Thread: | GSoC: PCP versions of console tools - next steps, Ryan Doyle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |