EnglishFrenchSpanish

Ad


OnWorks favicon

dbiprofp - Online in the Cloud

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

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


dbiprof - command-line client for DBI::ProfileData

SYNOPSIS


See a report of the ten queries with the longest total runtime in the profile dump file
prof1.out:

dbiprof prof1.out

See the top 10 most frequently run queries in the profile file dbi.prof (the default):

dbiprof --sort count

See the same report with 15 entries:

dbiprof --sort count --number 15

DESCRIPTION


This tool is a command-line client for the DBI::ProfileData. It allows you to analyze the
profile data file produced by DBI::ProfileDumper and produce various useful reports.

OPTIONS


This program accepts the following options:

--number N
Produce this many items in the report. Defaults to 10. If set to "all" then all
results are shown.

--sort field
Sort results by the given field. Sorting by multiple fields isn't currently supported
(patches welcome). The available sort fields are:

total
Sorts by total time run time across all runs. This is the default sort.

longest
Sorts by the longest single run.

count
Sorts by total number of runs.

first
Sorts by the time taken in the first run.

shortest
Sorts by the shortest single run.

key1
Sorts by the value of the first element in the Path, which should be numeric. You
can also sort by "key2" and "key3".

--reverse
Reverses the selected sort. For example, to see a report of the shortest overall
time:

dbiprof --sort total --reverse

--match keyN=value
Consider only items where the specified key matches the given value. Keys are
numbered from 1. For example, let's say you used a DBI::Profile Path of:

[ DBIprofile_Statement, DBIprofile_Methodname ]

And called dbiprof as in:

dbiprof --match key2=execute

Your report would only show execute queries, leaving out prepares, fetches, etc.

If the value given starts and ends with slashes ("/") then it will be treated as a
regular expression. For example, to only include SELECT queries where key1 is the
statement:

dbiprof --match key1=/^SELECT/

By default the match expression is matched case-insensitively, but this can be changed
with the --case-sensitive option.

--exclude keyN=value
Remove items for where the specified key matches the given value. For example, to
exclude all prepare entries where key2 is the method name:

dbiprof --exclude key2=prepare

Like "--match", If the value given starts and ends with slashes ("/") then it will be
treated as a regular expression. For example, to exclude UPDATE queries where key1 is
the statement:

dbiprof --match key1=/^UPDATE/

By default the exclude expression is matched case-insensitively, but this can be
changed with the --case-sensitive option.

--case-sensitive
Using this option causes --match and --exclude to work case-sensitively. Defaults to
off.

--delete
Sets the "DeleteFiles" option to DBI::ProfileData which causes the files to be deleted
after reading. See DBI::ProfileData for more details.

--dumpnodes
Print the list of nodes in the form of a perl data structure. Use the "-sort" option
if you want the list sorted.

--version
Print the dbiprof version number and exit.

Use dbiprofp 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