CHKHELP(1)
π chkhelp(1) β check performance metrics help text files π
okay bestie, welcome to the General Commands Manual for chkhelp, and no this is not a drill, this little icon is about to become your fave π«Ά
β¨ NAME β¨
chkhelp β check performance metrics help text files π
πΈ SYNOPSIS πΈ
$PCP_BINADM_DIR/chkhelp [-eHiOp?] [-D debug] [-n pmnsfile] helpfile
[metricname ...]
π DESCRIPTION π
so chkhelp is the vibe-checker for help text files, fr fr. it checks the consistency of Performance Co-Pilot help text files that were generated by newhelp(1) and are used by Performance Metric Domain Agents (PMDAs). the checking is literally just scanning the files, and optionally showing you selected entries. no cap. π₯
the files helpfile.dir and helpfile.pag are created by newhelp(1), and they are assumed to already exist. so like, don't come to this party empty-handed π
if you run it with no options and no metricname arguments, chkhelp silently verifies the structural integrity of the help files. silently! it's giving stealth mode. π
if any metricname arguments are specified, then only the help entries for the corresponding metrics get processed. periodt. π
if no metricname arguments are specified, then at least one of the options -i or -p must be given:
- the
-ioption causes entries for all instance domains to be processed (and it ignores entries for performance metrics) - the
-poption causes entries for all metrics to be displayed (and it ignores entries for instance domains)
when metric entries are about to be processed (via either the metricname arguments, the -p option, or the -i option), the -O and -H options request the display of the one-line help text and the verbose help text respectively. and the default? the default is -O. iykyk β¨
normally chkhelp operates on the default Performance Metrics Name Space (PMNS), but if you pass the -n option, an alternative namespace gets loaded from the file pmnsfile. main character energy for your custom namespace π
the -e option provides an existence check where all of the specified metrics from the PMNS (note: from the PMNS, not from helpfile) are scanned, and only the names of the metrics for which no help text exists are reported. and listen β the -e option is mutually exclusive with the -i and/or -p options. pick a lane bestie π
π OPTIONS π
the available command line options are:
-eβ Report metrics with no help text. π-Hβ Display verbose help text and exit. π£οΈ-iβ Process all the instance domains. π§-npmnsfile β Load an alternative Performance Metrics Name Space (PMNS(5)) from the file pmnsfile. π-Oβ Display the one line help summary. βοΈ-pβ Process all the metrics (PMIDs). π’-?β Display usage message and exit. π«Ά
π DIAGNOSTICS π
there are all sorts of reasons a help database may be inconsistent, bestie. the most likely one? a performance metric in the database is not defined in the loaded PMNS. it's giving mystery-novel plot twist π΅οΈβοΈ
π PCP ENVIRONMENT π
environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. on each installation, the file /etc/pcp.conf contains the local values for these variables. the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). slay, configurable π
for environment variables affecting PCP tools, see pmGetOptions(3).
π DEBUGGING OPTIONS π
the -D or --debug option enables the output of additional diagnostics on stderr to help triage problems, although ngl the information is sometimes cryptic and primarily intended to provide guidance for developers rather than for end-users. π
debug is a comma separated list of debugging options; use pmdbg(1) with the -l option to obtain a list of the available debugging options and their meaning. go get that list, you got this π
β SEE ALSO β
newhelp(1), PMAPI(3), pmLookupInDomText(3), pmLookupText(3), pcp.conf(5), pcp.env(5) and PMNS(5).
okay and that's the whole page, bestie π this came to you from Performance Co-Pilot under the PCP banner, and yeah it's literally titled CHKHELP(1) β go check those help files, you absolute icon πβ¨
π¦ 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.1-1.fc43
- 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.1-1.fc44
- 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
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2001 Silicon Graphics, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms