PMPOST(1)
π PMPOST(1) β bestie edition π
okay so real quick, the manual name for this one is General Commands Manual and the command itself is pmpost. yes we're doing this, and yes it's gonna be iconic.
β¨ NAME β¨
pmpost β appends messages to the Performance Co-Pilot notice board. that's the whole job. it's giving "sticky note on the fridge but make it enterprise" π
πΈ SYNOPSIS πΈ
$PCP_BINADM_DIR/pmpost [-D debug] message
one message, one command, no cap. literally that's it.
π¦ DESCRIPTION π¦
okay so here's the tea. pmpost takes your text message and appends it to the very end of the Performance Co-Pilot (PCP) notice board file, which lives at $PCP_LOG_DIR/NOTICES. and it does this atomically β meaning it guards against the notice board file getting corrupted when multiple invocations of pmpost happen at the same time. no race conditions, no messy file, we stay safe and cute π
the PCP notice board itself is meant to be a persistent store and a clearing house for important messages relating to the operation of the PCP, plus the notification of performance alerts from pmie(1) β specifically for when those other notification options are either unavailable or just... not it. unsuitable, as the professionals say π
before anything gets written, messages get prefixed with the current time. and when the current day is different from the last time the notice board file was written, pmpost will also prepend the message with the full date. so your timeline stays chronological, as it should π
if the notice board file doesn't exist, pmpost will create it. no drama. pmpost would usually run from long-running PCP daemons executing under the (typically unprivileged) $PCP_USER and $PCP_GROUP accounts. the file should be owned and writable by the $PCP_USER user, and readable by others β sharing is caring fr fr π«Ά
π FILES π
$PCP_LOG_DIR/NOTICESβ the PCP notice board file. this is the one. the main character. the whole point π
π PCP ENVIRONMENT π
the file /etc/pcp.conf contains the local values for the PCP_ variables. that's where the vibes get configured, bestie.
π§ UNIX SEE ALSO π§
πͺ WINDOWS SEE ALSO πͺ
pcp-eventlog(1).
π DEBUGGING OPTIONS π
the -D or --debug option enables the output of additional diagnostics on stderr, to help triage problems. lowkey the information is sometimes cryptic though, and it's primarily intended to provide guidance for developers rather than for end-users. so like, it's not for everyone, iykyk.
debug is a comma separated list of debugging options. use pmdbg(1) with the -l option to get a list of the available debugging options and what they mean. go off, go find out π
π SEE ALSO π
pmie(1), pcp.conf(5) and pcp.env(5).
ngl bestie, if you got this far you should probably also read those. they're the supporting cast and they ate π
and that's the whole page!! brought to you by Performance Co-Pilot, from the PCP collection β PMPOST(1), the notice board icon we all needed π«Άβ¨
π¦ 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) 2013 Red Hat
- Copyright (c) 2000-2004 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