pcp
[Top] [All Lists]

Re: pmlogger versus unix domain sockets

To: Dave Brolley <brolley@xxxxxxxxxx>
Subject: Re: pmlogger versus unix domain sockets
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 30 Jul 2013 07:03:52 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1457423276.2097053.1374719833123.JavaMail.root@xxxxxxxxxx>
References: <1457423276.2097053.1374719833123.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: H3avSRE3pPgCYTRjJdKj7euBfqbdY5YZ3ipf
Thread-topic: pmlogger versus unix domain sockets

----- Original Message -----
> [...]  I'm not seeing quite that behaviour,
> but another problem that'll need to be tackled...
> 
> $ pmlogger -h unix: -T5 -t1 -c /etc/pcp/pmlogger/config.default /tmp/test
> $ pmdumplog -l /tmp/test
> Log Label (Log Format Version 2)
> Performance metrics from host /var/run/pcp/pmcd.socket

I've committed a low-risk fix for this for the pending
release, which detects unix: or local: hostspecs early
on in pmlogger's life, and does the gethostname() call
(previously this was only done for "-h localhost").

There are wider (host naming) problems though, of which
this is but one small part - I'll send further mail soon
and hopefully we can all brain-storm and start tackling
those in the next point release.

cheers.

--
Nathan

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