PMAFM(1)
π NAME π
pmafm β the Performance Co-Pilot archive folio manager, bestie. This is a page from the General Commands Manual, and it's giving PMAFM(1) energy π
β¨ SYNOPSIS β¨
pmafm folioname [command [arg ...]]
π¦ DESCRIPTION π¦
okay so picture this: you take one or more Performance Co-Pilot (PCP) archives, you combine them with a control file, and boom β you've got yourself a PCP archive folio. Iconic. Folios get created either with mkaf(1) or through the interactive ``record mode'' services of PCP clients like pmchart(1) π
pmafm is the bestie that handles all the folio services. Like, it provides support for running PCP tools using one or more of the component archives inside an archive folio. That's the whole vibe.
Your target folio is identified by the folio control file folioname. The syntax for that control file is described over in mkaf(1) β go check it out, no cap.
If there's a command and arguments hanging out after folioname, they get interpreted and executed as a single command. If not? Then commands get read from standard input. Periodt.
The following commands are supported, and yes, we're going through all of them β¨
archivesβ subsequent commands apply to all archives in the folio.archives N[,...]β archives within a folio are numbered1,2, etc. Subsequent commands are restricted to apply only to the designated archives.archives name[,...]β archives within a folio have unique names. Subsequent commands are restricted to apply only to the designated archives.checkβ validate the presence and format of each file in the folio and the component archives. Like a vibe check but for files π«Άhelpβ a brief reminder of the command syntax. And?is a synonym forhelp, iykyk.hostsβ subsequent commands apply to all archives in the folio.hosts hostname[,...]β subsequent commands are restricted to apply only to those archives that match the designated hostnames.list [verbose]β display the contents of the folio. By default: the control header, plus the ordinal number, hostname and archive base name for each archive in the folio. Theverboseoption causespmafmto dump the label record from each archive usingpmlogdump -l.- The first named archive in the folio is assumed to be associated with the default host for any tool that tries to replay multiple archives from the folio. Noted π
quitβ exitpmafm. bye bestie πremoveβ echo on standard output thesh(1)commands required to remove all of the physical files associated with this archive folio.repeat tool [arg ...]β execute the known PCP tool once per selected archive. For example, the command
repeat pmval -t60 kernel.all.load
would run pmval(1) once per archive, with an appropriate -a argument.
replayβ some archive folios are created by tools (e.g.pmchart(1)) that provide sufficient information to allow all of the information in all of the archives of a folio to be replayed.[run] tool [arg ...]β execute the known PCP tool on the selected archives. Some PCP tools are able to process multiple concurrent archives, and in this case the tool is run once with the list of all selected archives passed via a-aargument. Otherwise, this command is synonymous withrepeat.selectionsβ display those archives that would be selected for processing with arepeat,replayorruncommand.
The restrictions via any hosts and archives commands are conjuncted. These restrictions serve to limit the specific archives processed in the subsequent repeat, replay, run and selections commands. By default, all archives are selected π«
Keywords in commands may be abbreviated provided no ambiguity is introduced, e.g. help, hel and he are synonymous, but h is ambiguous. So close but so far π
π FILES π
$PCP_VAR_DIR/config/pmafm/*β control files that define the behavior of each PCP tool known topmafm. This information may be customized or extended, see$PCP_VAR_DIR/config/pmafm/pcpfor documentation of the syntax and semantics of these files.$HOME/.pcp/pmafm/*β user customization of the control files. All files in this directory are treated in the same manner as control files in the$PCP_VAR_DIR/config/pmafmdirectory.
π 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 π§
π SEE ALSO π
mkaf(1), pcp-atop(1), pmchart(1), pmlogdump(1), PMAPI(3), pmRecordSetup(3), pcp.conf(5) and pcp.env(5).
okay that's the whole page bestie, you ate π β¨
and that's a wrap on this Performance Co-Pilot (PCP) PMAFM(1) page, from the General Commands Manual β go forth and manage those folios, main character πππ¦
π¦ 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
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- 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 questing: pcp 6.3.8-1
- 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