pmsignal: provide a targetted program mode
commit467798355bb1d4dedf8c1ec275b9f279746169ac
authorNathan Scott <nathans@redhat.com>
Tue, 23 Feb 2016 22:47:46 +0000 (24 09:47 +1100)
committerNathan Scott <nathans@redhat.com>
Tue, 23 Feb 2016 22:47:46 +0000 (24 09:47 +1100)
treeb3f78224a14474f302300b79d7f45fa8ab6b12aa
parent4409c3ff72d1cf2994c3d63810632f60c0fe485a
pmsignal: provide a targetted program mode

Provide a pmsignal mode which uses PCP_RUN_DIR pidfiles to
more reliably find only long-running PCP daemon processes,
rather than the shotgun approach of "killall" (while still
keeping the convenience of specifying programs by name).

Several of the daemon rc scripts are updated to use this
mode, to tackle Fedora BZ 1210976, and the recently added
pmieconf PMDA status check rule is also updated to use it.

Man page for pmsignal is fleshed out a bit (including some
missing text for existing options), and test 881 exercises
the functionality.
man/man1/pmsignal.1
qa/881 [new file with mode: 0755]
qa/881.out [new file with mode: 0644]
qa/group
src/pmieconf/pcp/pmda_status
src/pmmgr/rc_pmmgr
src/pmproxy/rc_pmproxy
src/pmsignal/pmsignal.sh
src/pmwebapi/rc_pmwebd