MKAF(1)
๐ MKAF(1) โ like, the manual page for mkaf, bestie ๐
General Commands Manual โจ PCP vibes only
๐ธ NAME ๐ธ
mkaf โ create a Performance Co-Pilot archive folio ๐ซถ
โจ SYNOPSIS โจ
$PCP_BINADM_DIR/mkaf [-?] [findopts] filename ...
๐ฆ DESCRIPTION ๐ฆ
okay so picture this: you've got a whole collection of one or more Performance Co-Pilot archives (peep PCPIntro(1) for the lore), and mkaf is the girl who combines them into a PCP archive folio plus the associated archive folio control file. iconic behaviour, no cap. some PCP tools literally use mkaf to make archive folios โ like the ``record'' facility in the pmchart(1) and pmview(1) tools โ all so playback with pmafm(1) is smooth. ๐
mkaf goes through each filename argument one by one, and if that thing is a component file from a PCP archive, then boom ๐ฅ that archive gets added to the folio.
if filename is a directory, bestie, it gets searched recursively using find(1). and any filename argument that starts with a ``-'' is assumed to be a find(1) command line option (findopts) โ the default is -follow if you don't specify any findopts. periodt.
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. that's the main character archive, basically. ๐
the folio control file gets written to standard output, and it has this exact format:
- the first line contains the word
PCPFolio. - the second line contains the tag
Version:followed by the format version number (currently1). - for subsequent lines, blank lines and lines beginning with ``#'' are ignored.
- the line beginning with the tag
Created:documents where and when the folio was created. - the line beginning with the tag
Creator:identifies the tool which created the folio (and is assumed to know how to replay the archive folio). if present, the second argument is the name of a configuration file that the creator tool could use to replay the archive folio, e.g. with thereplaycommand forpmafm(1). in the case ofmkaf(unlikepmchart(1)orpmview(1)) there is no knowledge of the contents of the archives, so the ``creator'' cannot replay the archive โ howeverpmchart(1)is able to replay any archive, and so this tool is identified as theCreator:for archive folios created bymkaf(1). ๐ - this is then followed by one or more lines beginning with the tag
Archive:followed by the hostname and base name of the archive.
for example
$ mkaf mydir/gonzo
might produce the following folio control file. ๐
PCPFolio
Version: 1
# use pmafm(1) to process this PCP archive folio
#
Created: on gonzo at Tue Jul 2 03:35:54 EST 1996
Creator: pmchart
# Host Basename
#
Archive: gonzo mydir/gonzo/960627
Archive: gonzo mydir/gonzo/960628
Archive: gonzo mydir/gonzo/960629
Archive: gonzo mydir/gonzo/960630
Archive: gonzo mydir/gonzo/960701
Archive: gonzo mydir/gonzo/960701.00.10
Archive: gonzo mydir/gonzo/960701.05.25
Archive: gonzo mydir/gonzo/960702.00.10
๐ OPTIONS ๐
the available command line options are, bestie:
-?โ display the usage message and exit. bye ๐-findoptsโ options to be passed tofind(1). the default is-follow.
๐ DIAGNOSTICS ๐
some informational messages, warnings and pathological conditions get reported on standard error. not everything can be cute, unfortunately. ๐
๐ 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). iykyk ๐
๐ SEE ALSO ๐
find(1), PCPIntro(1), pmafm(1), pmchart(1), pmview(1), pcp.conf(5) and pcp.env(5). go read them, they're giving knowledge. ๐โจ
Performance Co-Pilot ๐ฆ PCP ๐ฆ MKAF(1)
and that's the whole page, bestie โ mwah, slay, go make some archive folios ๐โจ๐๐ซถ
๐ฆ 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