| PMSEARCHTEXTQUERY(3) | Library Functions Manual | PMSEARCHTEXTQUERY(3) |
pmSearchTextQuery - full-text search for metrics, instances and instance domains provided by PCP search services
#include <pcp/pmwebapi.h>
int pmSearchTextQuery(pmSearchSettings *settings, pmSearchTextRequest *request, void *arg);
cc ... -lpcp_web
Executes full-text search in name, oneline help, helptext (when available) as specified by request:
Each entity matched by the request above will be passed to on_text_result callback provided by settings.
This function always returns zero on success. On failure a negative PMAPI error code is returned.
pmproxy(1), pmlogger(1), pmsearch(1), pmSearchSetup(3), PMAPI(3) and PMWEBAPI(3).
| PCP | Performance Co-Pilot |