PMSEARCHINFO(3)
π NAME π
pmSearchInfo β the diagnostic metrics plug for PCP's search services, bestie πβ¨
πΈ C SYNOPSIS πΈ
#include <pcp/pmwebapi.h>
int pmSearchInfo(pmSearchSettings *settings, sds key, void *arg);
cc ... -lpcp_web
π¦ DESCRIPTION π¦
okay so this one is literally just the gossip channel for the Performance Co-Pilot (PCP) full-text search index β it hands you the diagnostic info about what's going on in there. π«Ά
the way that you get those diagnostic metrics is by passing in key with a value of text. yes queen, that exact string. π
and then the results β think stuff like the document count, the receipts basically π β get passed straight to the on_metrics callback that was provided by settings. so make sure settings is cute and set up, because that's where the tea gets delivered. βπ
π DIAGNOSTICS π
bestie listen: on success this function always returns zero. zero. every time. slay. β¨
but on failure? it hits you with a negative PMAPI error code. so if you see a negative number, that's the vibe check failing, and you should go read up on PMAPI errors. π
π SEE ALSO π
Performance Co-Pilot π PCP π PMSEARCHINFO(3)
that's the whole page babes, mwah π go read those other man pages, iykyk π§πβ
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- Copyright (c) 2020,2026 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms