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

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



   pmdaprofile    ( 3 )

обновить профиль экземпляра для PMDA при подготовке к следующей выборке из PMCD (update instance profile for PMDA in preparation for the next fetch from PMCD)

Имя (Name)

pmdaProfile - update instance profile for PMDA in preparation for
       the next fetch from PMCD

Синопсис C (C Synopsis)

#include <pcp/pmapi.h>
       #include <pcp/pmda.h>

int pmdaProfile(pmProfile *prof, pmdaExt *pmda);

cc ... -lpcp_pmda -lpcp


Описание (Description)

As part of the Performance Metrics Domain Agent (PMDA) API (see
       PMDA(3)), pmdaProfile is the default callback which handles the
       receipt of a pmProfile from pmcd(1).  A profile describes the
       instances that pmcd requires in the pmResult structure returned
       by the next fetch.  pmdaProfile simply stores the new profile.

Предостережение (Caveat)

The PMDA must be using PMDA_PROTOCOL_2 or later, as specified in
       the call to pmdaDSO(3) or pmdaDaemon(3).

Смотри также (See also)

PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmdaFetch(3).