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

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



   pmsearchtextindom    ( 3 )

поиск всех сущностей, связанных с данным доменом экземпляра (search for all entities related to given instance domain)

Имя (Name)

pmSearchTextInDom - search for all entities related to given
       instance domain

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

#include <pcp/pmwebapi.h>

int pmSearchTextInDom(pmSearchSettings *settings, pmSearchTextRequest *request, void *arg)

cc ... -lpcp_web


Описание (Description)

Executes search for all metrics, instances and instance domains,
       that are related to given instance domain as specified by
       request:

query Target instance domain.

count Limits number of results. Defaults to 10.

offset Search offset. Defaults to 0.

Results are ordered by type in an ascending order.

Each entity matched by the request above will be passed to on_text_result callback provided by settings.


Диагностика (Diagnostic)

This function always returns zero on success.  On failure a
       negative PMAPI error code is returned.

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

pmproxy(1), pmlogger(1), pmsearch(1), redis-server(1),
       pmSearchSetup(3), PMAPI(3) and PMWEBAPI(3).