MMV(5) File Formats Manual MMV(5) (NAME) mmv - Performance Co-Pilot (SYNOPSIS) $PCP_TMP_DIR/mmv/ (DESCRIPTION) $PCP_TMP_DIR/mmv mmv_stats_init(3) mmv_stats2_init(3) libpcp_mmv Parfait ( Java) Speed ( Golang) Hornet ( Rust). (Performance Metrics) . pmdammv(1) Performance Co-Pilot . (FILE FORMAT) (Header) : +-------+--------+--------------------------+ |Offset | Length | Name | +-------+--------+--------------------------+ | 0 | 4 | tag == "MMV\0" | +-------+--------+--------------------------+ | 4 | 4 | Version (1 or 2) | +-------+--------+--------------------------+ | 8 | 8 | Generation 1 | +-------+--------+--------------------------+ | 16 | 8 | Generation 2 | +-------+--------+--------------------------+ | 24 | 4 | Number of TOC entries | +-------+--------+--------------------------+ | 28 | 4 | Flags | +-------+--------+--------------------------+ | 32 | 4 | Process identifier (PID) | +-------+--------+--------------------------+ | 36 | 4 | Cluster identifier | +-------+--------+--------------------------+ . . MMV . MMV_NAMEMAX MMV PCP . pcp-3.11.4 . (Generation numbers) MMV PMDA . MMV PMDA - MMV_FLAG_PROCESS PID . MMV PMDA . ( PMDA(3) ) PMDA Metrics . TOC ( ) : (Metrics) (Values). TOC : +-------+--------+---------------------------------------------+ |Offset | Length | Value | +-------+--------+---------------------------------------------+ | 0 | 4 | Section Type (see mmv_stats.h) | +-------+--------+---------------------------------------------+ | 4 | 4 | Number of entries in the section | +-------+--------+---------------------------------------------+ | 8 | 8 | Section's offset from the start of the file | +-------+--------+---------------------------------------------+ : 1: Indoms ( Instance Domain Definitions) 2: Instances () 3: Metrics ( ) 4: Values () 5: String () 6: Labels () Metrics Values . Indoms Instances . String Metrics Indoms MMV ( MMV ). Label ( /) . MMV . Indoms : +-------+--------+---------------------------------------+ |Offset | Length | Value | +-------+--------+---------------------------------------+ | 0 | 4 | Unique serial number for this domain | +-------+--------+---------------------------------------+ | 4 | 4 | Number of entries in the domain | +-------+--------+---------------------------------------+ | 8 | 8 | Offset to first Instance or Instance2 | +-------+--------+---------------------------------------+ | 16 | 8 | Short help text offset | +-------+--------+---------------------------------------+ | 24 | 8 | Long help text offset | +-------+--------+---------------------------------------+ Instances ( ) : +-------+--------+-------------------------------+ |Offset | Length | Value | +-------+--------+-------------------------------+ | 0 | 8 | Offset into the indom section | +-------+--------+-------------------------------+ | 8 | 4 | Unused padding (zero filled) | +-------+--------+-------------------------------+ | 12 | 4 | Internal instance identifier | +-------+--------+-------------------------------+ | 16 | 64 | External instance identifier | +-------+--------+-------------------------------+ Instances ( ) : +-------+--------+--------------------------------------------+ |Offset | Length | Value | +-------+--------+--------------------------------------------+ | 0 | 8 | Offset into the indom section | +-------+--------+--------------------------------------------+ | 8 | 4 | Unused padding (zero filled) | +-------+--------+--------------------------------------------+ | 12 | 4 | Internal instance identifier | +-------+--------+--------------------------------------------+ | 16 | 8 | External instance identifier string offset | +-------+--------+--------------------------------------------+ Metrics ( ) : +-------+--------+-------------------------------+ |Offset | Length | Value | +-------+--------+-------------------------------+ | 0 | 64 | Metric Name | +-------+--------+-------------------------------+ | 64 | 4 | Metric Item (see PMDA(3)) | +-------+--------+-------------------------------+ | 68 | 4 | Metric Type (see mmv_stats.h) | +-------+--------+-------------------------------+ | 72 | 4 | Semantics (see PMAPI(3)) | +-------+--------+-------------------------------+ | 76 | 4 | Dimensions (see PMAPI(3)) | +-------+--------+-------------------------------+ | 80 | 4 | Instance Domain ID | +-------+--------+-------------------------------+ | 84 | 4 | Unused padding (zero filled) | +-------+--------+-------------------------------+ | 88 | 8 | Short help text offset | +-------+--------+-------------------------------+ | 96 | 8 | Long help text offset | +-------+--------+-------------------------------+ Metrics ( ) : +-------+--------+-------------------------------+ |Offset | Length | Value | +-------+--------+-------------------------------+ | 0 | 8 | Metric Name string offset | +-------+--------+-------------------------------+ | 8 | 4 | Metric Item (see PMDA(3)) | +-------+--------+-------------------------------+ | 12 | 4 | Metric Type (see mmv_stats.h) | +-------+--------+-------------------------------+ | 16 | 4 | Semantics (see PMAPI(3)) | +-------+--------+-------------------------------+ | 20 | 4 | Dimensions (see PMAPI(3)) | +-------+--------+-------------------------------+ | 24 | 4 | Instance Domain ID | +-------+--------+-------------------------------+ | 28 | 4 | Unused padding (zero filled) | +-------+--------+-------------------------------+ | 32 | 8 | Short help text offset | +-------+--------+-------------------------------+ | 40 | 8 | Long help text offset | +-------+--------+-------------------------------+ Values : +-------+--------+------------------------------------+ |Offset | Length | Value | +-------+--------+------------------------------------+ | 0 | 8 | pmAtomValue (see PMAPI(3)) | +-------+--------+------------------------------------+ | 8 | 8 | Extra space for STRING and ELAPSED | +-------+--------+------------------------------------+ | 16 | 8 | Offset into the Metrics section | +-------+--------+------------------------------------+ | 24 | 8 | Offset into the Instances section | +-------+--------+------------------------------------+ NULL . NULL . Labels ( ) : +-------+--------+---------------------+ |Offset | Length | Value | +-------+--------+---------------------+ | 0 | 4 | Flags - PM_LABEL_ | | | | CLUSTER, ITEM, | | | | INDOM, INSTANCES | | | | and OPTIONAL | +-------+--------+---------------------+ | 4 | 4 | Identifier for | | | | given type (indom, | | | | cluster or item) | +-------+--------+---------------------+ | 8 | 4 | Internal Instance | | | | or PM_IN_NULL | +-------+--------+---------------------+ | 12 | 244 | Payload (Name and | | | | Value JSONB String) | +-------+--------+---------------------+ (Payload) name:value NULL JSON . (Insignificant whitespace) . - (Underscore) . . (SEE ALSO) PCPIntro(1), pmdammv(1), PMAPI(3), PMDA(3), mmv_stats_registry(3), pcp.conf(5) pcp.env(5). Performance Co-Pilot MMV(5)