The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Parser::Dbt2 - Perl module to parse output files from a DBT-2 test run.

SYNOPSIS

use Test::Parser::Dbt2;

my $parser = new Test::Parser::Dbt2;
$parser->parse($text);

DESCRIPTION

This module transforms DBT-2 output into a hash that can be used to generate XML.

FUNCTIONS

Also see Test::Parser for functions available from the base class.

new()

Creates a new Test::Parser::Dbt2 instance. Also calls the Test::Parser base class' new() routine. Takes no arguments.

data()

Returns a hash representation of the dbt2 data.

Override of Test::Parser's default parse() routine to make it able to parse dbt2 output. Support only reading from a file until a better parsing algorithm comes along.

plot()

Plot the data using Gnuplot.

customer_devices()

Set the customer devices.

district_devices()

Set the district devices.

history_devices()

Set the history devices.

item_devices()

Set the item devices.

index1_devices()

Set the index1 devices.

index2_devices()

Set the index2 devices.

log_devices()

Set the log devices.

new_order_devices()

Set the new_order devices.

order_line_devices()

Set the order_line devices.

orders_devices()

Set the orders devices.

pkcustomer_devices()

Set the customer primary key tablespace devices.

pkdistrict_devices()

Set the district primary key tablespace devices.

pkitem_devices()

Set the item primary key tablespace devices.

pknew_order_devices()

Set the new_order primary key tablespace devices.

pkorder_line_devices()

Set the order_line primary key tablespace devices.

pkorders_devices()

Set the orders primary key tablespace devices.

pkstock_devices()

Set the stock devices.

pkwarehouse_devices()

Set the warehouse primary key tablespace devices.

stock_devices()

Set the stock devices.

warehouse_devices()

Set the warehouse devices.

to_html()

Create HTML pages.

image_check()

Returns an HTML href a file exists.

to_xml()

Returns sar data transformed into XML.

AUTHOR

Mark Wong <markw@osdl.org>

COPYRIGHT

Copyright (C) 2006 Mark Wong & Open Source Development Labs, Inc. All Rights Reserved.

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Test::Parser

1 POD Error

The following errors were encountered while parsing the POD:

Around line 1738:

'=end' without a target?