pcp
[Top] [All Lists]

pmda-systemd qa tweak

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pmda-systemd qa tweak
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Fri, 11 Dec 2015 16:08:56 -0500
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
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.

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