EnglishFrenchSpanish

OnWorks favicon

pmnsmerge - Online in the Cloud

Run pmnsmerge in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pmnsmerge that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pmnsmerge - merge multiple versions of a Performance Co-Pilot PMNS

SYNOPSIS


$PCP_BINADM_DIR/pmnsmerge [-adfxv] infile [...] outfile

DESCRIPTION


pmnsmerge merges multiple instances of a Performance Metrics Name Space (PMNS), as used by
the components of the Performance Co-Pilot (PCP).

Each infile argument names a file that includes the root of a PMNS, of the form

root {
/* arbitrary stuff */
}

The order in which the infile files are processed is determined by the presence or absence
of embedded control lines of the form #define _DATESTAMP YYYYMMDD

Files without a control line are processed first and in the order they appear on the
command line. The other files are then processed in order of ascending _DATESTAMP.

The -a option suppresses the argument re-ordering and processes all files in the order
they appear on the command line.

The merging proceeds by matching names in PMNS, only those new names in each PMNS are
considered, and these are added after any existing metrics with the longest possible
matching prefix in their names. For example, merging these two input PMNS

root { root {
surprise 1:1:3
mine 1:1:1 mine 1:1:1
foo foo
yawn
yours 1:1:2
} }
foo { foo {
fumble 1:2:1
mumble 1:2:3
stumble 1:2:2 stumble 1:2:2
} }
yawn {
sleepy 1:3:1
}

Produces the resulting PMNS in out.

root {
mine 1:1:1
foo
yours 1:1:2
surprise 1:1:3
yawn
}
foo {
fumble 1:2:1
stumble 1:2:2
mumble 1:2:3
}
yawn {
sleepy 1:3:1
}

To avoid accidental over-writing of PMNS files, outfile is expected to not exist when
pmnsmerge starts. The -f option allows an existing outfile to be unlinked (if possible)
and truncated before writing starts.

Normally duplicate names for the same Performance Metric Identifier (PMID) in a PMNS are
allowed. The -d option is the default option and is included for backwards compatibility.
The -x option reverses the default and pmnsmerge will report an error and exit with a non-
zero status if a duplicate name is found for a PMID in any of the input PMNS files or in
the merged output PMNS.

The -v option produces one line of diagnostic output as each infile is processed.

Once all of the merging has been completed, pmnsmerge will attempt to load the resultant
namespace using pmLoadASCIINameSpace(3) - if this fails for any reason, outfile will still
be created, but pmnsmerge will report the problem and exit with non-zero status.

Using pmnsmerge with a single input argument allows that PMNS file to be checked. In
addition to syntactic checking, specifying -x will also enable a check for duplicate names
for all PMIDs.

CAVEAT


Once the writing of the new outfile file has begun, the signals SIGINT, SIGHUP and SIGTERM
will be ignored to protect the integrity of the new file.

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).

Use pmnsmerge online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad