Add __pmSetClientId() and pmcd.client.* metrics
These changes allow clients of pmcd to register their own id string which is then exported via pmcd.client.whoami.
Currently pmie and pmlogger are the only clients using this, to produce identification strings like this ...
pmcd.client.whoami inst [1 or "1"] value "bozo-laptop.localdomain (127.0.1.1) pmlogger -P -c config.default 20090427.08.05" inst [44 or "44"] value "bozo-laptop.localdomain (127.0.1.1) pmie -b -h bozo-laptop -l /var/log/pcp/pmie/bozo-laptop/pmie.log -c config.default"
Add __pmSetClientId() and pmcd.client.* metrics
These changes allow clients of pmcd to register their own id string
which is then exported via pmcd.client.whoami.
Currently pmie and pmlogger are the only clients using this, to
produce identification strings like this ...
pmcd.client.whoami
inst [1 or "1"] value "bozo-laptop.localdomain (127.0.1.1) pmlogger
-P -c config.default 20090427.08.05"
inst [44 or "44"] value "bozo-laptop.localdomain (127.0.1.1) pmie -b
-h bozo-laptop -l /var/log/pcp/pmie/bozo-laptop/pmie.log
-c config.default"