EnglishFrenchSpanish

OnWorks favicon

pmdashping - Online in the Cloud

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

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


pmdashping - "shell-ping" performance metrics domain agent

SYNOPSIS


$PCP_PMDAS_DIR/shping/pmdashping [-C] [-d domain] [-l logfile] [-I interval] [-t timeout]
[-U username] configfile

DESCRIPTION


pmdashping is a Performance Metrics Domain Agent (PMDA) which exports quality of service
and response time measurements for arbitrary commands as might be run from a shell such as
sh(1).

These measurements are intended to be used to quantify service quality and service
availability for those services that are either mission critical or act as early
indicators of adverse system performance.

The sample configuration monitors simple shell commands (exit and date(1)), a short
computationally intensive task using sum(1), a short C compilation, DNS lookup via
nslookup(1), YP lookup via ypcat(1), bind/portmapper service using rpcbind(1), SMTP by
connecting to telnet port 25 and sending an ``expn root'' request, and NNTP by connecting
to telnet port 119 and running a ``listgroup'' command.

It is expected that other commands would follow the examples in the sample configuration
file, and most deployments of the pmdashping PMDA are expected to use a customized
configuration file.

A brief description of the pmdashping command line options follows:

-C Parse configfile, reporting any errors and exiting with non-zero status if the file
contains syntactical errors.

-d It is absolutely crucial that the performance metrics domain number specified here is
unique and consistent. That is, domain should be different for every PMDA on the one
host, and the same domain number should be used for the same PMDA on all hosts.

-l Location of the log file. By default, a log file named shping.log is written in the
current directory of pmcd(1) when pmdashping is started, i.e. $PCP_LOG_DIR/pmcd. If
the log file cannot be created or is not writable, output is written to the standard
error instead.

-I Amount of time (in seconds) between subsequent executions of the list of commands
provided via the configuration file configfile. The default is 2 minutes.

-t Amount of time (in seconds) to wait before timing out awaiting a response for a
command from configfile. The default is 20 seconds.

-U User account under which to run the agent and all commands. The default is the
unprivileged "pcp" account in current versions of PCP, but in older versions the
superuser account ("root") was used by default.

The required configfile specifies ``tag'' and ``command'' pairs, each on a separate line.
All of the commands are run one after another, with the whole group rescheduled to be run
once per interval. For each command that is run, pmdashping records information related
to the success (or timeout), exit status, elapsed time and CPU time (system and user), and
this information is exported by the PMDA. The tags are used to identify the individual
commands amongst the values exported by the PMDA, and form the external instance domain
identifiers for the pmdashping metrics which relate to each command.

INSTALLATION


In order for a host to export the names, help text and values for the shping performance
metrics, do the following as root:

# cd $PCP_PMDAS_DIR/shping
# ./Install

The set of ``tag'' and ``command'' pairs may be specified from a default (sample)
configuration file, a customized file or entered interactively as part of the Install
script.

If you want to undo the installation, do the following as root:

# cd $PCP_PMDAS_DIR/shping
# ./Remove

pmdashping is launched by pmcd(1) and should never be executed directly. The Install and
Remove scripts notify pmcd(1) when the agent is installed or removed.

Use pmdashping online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

  • 1
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 2
    7zr
    7zr
    7zr - A file archiver with highest
    compression ratio ...
    Run 7zr
  • 3
    cpan
    cpan
    cpan - easily interact with CPAN from
    the command line ...
    Run cpan
  • 4
    cpan2debp
    cpan2debp
    dh-make-perl - Create debian source
    packages from Perl modules ...
    Run cpan2debp
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad