PMDBG(1)
๐ NAME ๐
pmdbg โ the little tool that reports the Performance Co-Pilot debug options. It's a section 1 manual page (pmdbg(1)), General Commands Manual, and honestly it's giving "short but essential" ๐
โจ SYNOPSIS โจ
pmdbg [-l]
๐ DESCRIPTION ๐
okay so here's the vibe: every component of the Performance Co-Pilot (PCP) shares one global mechanism for controlling diagnostic and debug output. One system, whole family, no cap ๐ซถ
pmdbg prints out all the available debug options โ the name of the option plus some descriptive text for each one. That's the whole tea. โ
-lโ does absolutely nothing bestie ๐ญ it's only in there for backwards compatibility with older versions ofpmdbg. Iconic of it, honestly.
Most applications that use PCP's facilities support a -D name[,name ...] command-line syntax, which enables debug control using the name(s) of the debug options you want.
Alternatively, the initial value of the debug control flags can be set to a comma-separated list of option name(s) using the environment variable $PCP_DEBUG โ but only if the applications use pmGetOptions(3) to process command line options and arguments. (iykyk)
And if you use both mechanisms at once? The effect is additive, fr fr. The resultant flags are those set via $PCP_DEBUG combined with those set via any -D command-line options. Both. Together. Slay. โจ
๐ธ 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). โจ
๐ COMPATIBILITY ๐
Prior to PCP 7.0, debug options were maintained in a dual state: an old-style binary encoded integer (plus a macro name, for the programmers out there) and a new-style character string name for each debug option.
In PCP 7.0, support for the old-style was dropped. Gone. Not coming back. ๐ชฆ
The table below documents the equivalence for those debugging options that appeared in both the old and the new styles ๐
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ Old Style โ New Style โ
โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโโโโโโผโโโโโโโโโโโโโโค
โ Symbolic Name โ Mask โ Value โ Name โ
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโผโโโโโโโโโโโโโโค
โ DBG_TRACE_PDU โ 0x00000001 โ 1 โ pdu โ
โ DBG_TRACE_FETCH โ 0x00000002 โ 2 โ fetch โ
โ DBG_TRACE_PROFILE โ 0x00000004 โ 4 โ profile โ
โ DBG_TRACE_VALUE โ 0x00000008 โ 8 โ value โ
โ DBG_TRACE_CONTEXT โ 0x00000010 โ 16 โ context โ
โ DBG_TRACE_INDOM โ 0x00000020 โ 32 โ indom โ
โ DBG_TRACE_PDUBUF โ 0x00000040 โ 64 โ pdubuf โ
โ DBG_TRACE_LOG โ 0x00000080 โ 128 โ log โ
โ DBG_TRACE_LOGMETA โ 0x00000100 โ 256 โ logmeta โ
โ DBG_TRACE_OPTFETCH โ 0x00000200 โ 512 โ optfetch โ
โ DBG_TRACE_AF โ 0x00000400 โ 1024 โ af โ
โ DBG_TRACE_APPL0 โ 0x00000800 โ 2048 โ appl0 โ
โ DBG_TRACE_APPL1 โ 0x00001000 โ 4096 โ appl1 โ
โ DBG_TRACE_APPL2 โ 0x00002000 โ 8192 โ appl2 โ
โ DBG_TRACE_PMNS โ 0x00004000 โ 16384 โ pmns โ
โ DBG_TRACE_LIBPMDA โ 0x00008000 โ 32768 โ libpmda โ
โ DBG_TRACE_TIMECONTROL โ 0x00001000 โ 65536 โ timecontrol โ
โ DBG_TRACE_PMC โ 0x00002000 โ 131072 โ pmc โ
โ DBG_TRACE_DERIVE โ 0x00004000 โ 262144 โ derive โ
โ DBG_TRACE_LOCK โ 0x00008000 โ 524288 โ lock โ
โ DBG_TRACE_INTERP โ 0x00010000 โ 1048576 โ interp โ
โ DBG_TRACE_CONFIG โ 0x00020000 โ 2097152 โ config โ
โ DBG_TRACE_PMAPI โ 0x00040000 โ 4194304 โ pmapi โ
โ DBG_TRACE_FAULT โ 0x00080000 โ 8388608 โ fault โ
โ DBG_TRACE_AUTH โ 0x00100000 โ 16777216 โ auth โ
โ DBG_TRACE_DISCOVERY โ 0x00200000 โ 33554432 โ discovery โ
โ DBG_TRACE_ATTR โ 0x00400000 โ 67108864 โ attr โ
โ DBG_TRACE_HTTP โ 0x00800000 โ 134217728 โ http โ
โ DBG_TRACE_DESPERATE โ 0x04000000 โ 1073741824 โ desperate โ
โโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโ
๐ฅ SEE ALSO ๐ฅ
PCPIntro(1)PMAPI(3)pmClearDebug(3)pmGetDebug(3)pmGetOptions(3)pmSetDebug(3)pcp.conf(5)pcp.env(5)
and that's the page bestie!! ๐ฆ this one came from Performance Co-Pilot (that's the source) and it's the PCP release, page PMDBG(1) โ go forth and debug your little heart out, the debug options are all listed and they are all yours ๐โจ๐
๐ฆ 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
- centos-stream 10: pcp-doc 7.1.5-6.el10 ยท GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.0.1-1.fc43 ยท GPL-2.0-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.1.0-6.fc44 ยท 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 resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2000 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