EnglishFrenchSpanish

Ad


OnWorks favicon

ganglia2pcp - Online in the Cloud

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

This is the command ganglia2pcp 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


ganglia2pcp - import ganglia data and create a PCP archive

SYNOPSIS


ganglia2pcp [-s start] [-e end] [-f outfile] [-d outdir] [-Z timezone] [-h hostname]
input_dir

DESCRIPTION


ganglia2pcp is intended to read a set of ganglia files stored in the rrd format and
translate them into a Performance Co-Pilot (PCP) archive with the basename outfile.

The intent of this converter is to take all of the rrd files found in the input_dir and
generate a single pcp archive file. The mapping of ganglia metrics to pcp metrics is
defined internally.

The resultant PCP achive may be used with all the PCP client tools to graph subsets of the
data using pmchart(1), perform data reduction and reporting, filter with the PCP inference
engine pmie(1), etc.

A series of physical files will be created with the prefix outfile. These are outfile.0
(the performance data), outfile.meta (the metadata that describes the performance data)
and outfile.index (a temporal index to improve efficiency of replay operations for the
archive). If any of these files exists already, then sar2pcp will not overwrite them and
will exit with an error message of the form

__pmLogNewFile: blah.0 already exists, not over-written

ganglia2pcp is a Perl script that uses the PCP::LogImport Perl wrapper around the PCP
libpcp_import library, and as such could be used as an example to develop new tools to
import other types of performance data and create PCP archives. The RRDs Perl wrapper is
used to parse the raw rrd format files.

Options control the functioning of the converter.

-s The start argument specifies a start time in a format understood by str2time. The
default start time is 24 prior to current time.

-e The end argument specifies a end time in a format understood by str2time. The default
start time is current time.

-f The outfile argument specifies a output file name. The default name is in the
standard pmlogger format based on the start time, eg 20150201.00.10

-d The outdir argument specifies a output to write to. The default is the current
directory

-Z The timezone argument sets the source timezone in the PCP archive (the default is to
use the local timezone). The timezone must have the format +HHMM (for hours and
minutes East of UTC) or -HHMM (for hours and minutes West of UTC) or UTC. Note in
particular that neither the zoneinfo (aka Olson) format, e.g. Europe/Paris, nor the
Posix TZ format, e.g. EST+5 is allowed. Example: timezone=+1100.

-h The hostname argument specifies a hostname to write to the archive. The default is
taken from the directory name that the rrd files reside in.

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 ganglia2pcp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad