Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pmcd    ( 1 )

демон сборщика показателей производительности (performance metrics collector daemon)

AGENT FENCING

Preventing sampling during the life of a PMDA is sometimes
       desirable, for example if that sampling impacts on sensitive
       phases of a scheduled job.  A temporary ``fence'' can be raised
       to block all PMAPI client access to one or more agents in this
       situation.  This functionality is provided by the built-in PMCD
       PMDA and the pmstore(1) command, as in

# pmstore -i nfsclient,kvm pmcd.agent.fenced 1

If the optional comma-separated list of agent names is omitted, all agents will be fenced. To resume normal operation, the ``fence'' can be lowered as follows

# pmstore -i nfsclient,kvm pmcd.agent.fenced 0

Lowering the fence for all PMDAs at once is performed using

# pmstore pmcd.agent.fenced 0

Elevated privileges are required to store to the pmcd.agent.fenced metric. For additional information, see the help text associated with this metric, which can be accessed using the -T, --helptext option to pminfo(1).