|PMLOOKUPTEXT(3)||Library Functions Manual||PMLOOKUPTEXT(3)|
pmLookupText - return text describing a performance metric
int pmLookupText(pmID pmid, int level, char **buffer);
cc ... -lpcp
Retrieve descriptive text about the performance metric identified by pmid.
The argument level should be either PM_TEXT_ONELINE for a one-line summary, else PM_TEXT_HELP for a more verbose description, suited to a help dialog.
pmLookupText returns zero on success.
- For archives created with versions of PCP prior to 4.0, if the current PMAPI context is an archive log (help and one-line text was previously not maintained in the archive logs)