Thanks Frank.
I've pulled your commit and this looks fine.
You're correct in terms of journalctl ... my change is wrong. I've now
committed something much closer to the truth, namely ...
$sudo journalctl --lines=4 MESSAGE=yo-$seq-2 MESSAGE=yo-$seq-3
>>$here/$seq.full
> -----Original Message-----
> From: pcp-bounces@xxxxxxxxxxx [mailto:pcp-bounces@xxxxxxxxxxx] On
> Behalf Of Frank Ch. Eigler
> Sent: Saturday, 12 December 2015 8:09 AM
> To: pcp developers <pcp@xxxxxxxxxxx>
> Subject: [pcp] pmda-systemd qa tweak
>
> Hi -
>
> Please consider applying this qa tweak to pcp; pcpfans.git
> fche/systemd.
>
> It follows Ken's commit from yesterday, though I don't understand what
> Ken had in mind with this part:
>
> - $sudo journalctl MESSAGE=yo >>$here/$seq.full
> + $sudo journalctl MESSAGE=yo-$seq-4 >>$here/$seq.full
>
> This construct queries the journal, doesn't send to it. Since Ken's
> commit changes the text of the two prior 'yo' messages, the new query
> will return zero results (since yo-652-4 will match nothing).
>
>
>
> commit cdc7cbc3ecb994df39ac1c29a943f3634d42ed07
> Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
> Date: Fri Dec 11 16:01:04 2015 -0500
>
> pmdasystemd qa: use systemd-cat to inject data
>
> /usr/bin/logger may not be connected to the systemd journal on
> oddly
> configured machines, whereas systemd-cat is documented to send
> data
> directly there. No change to qa output.
>
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
|