Solaris::Disk::SVM::Graph 0.03 review

Download
by rbytes.net on

License: Perl Artistic License
File size: 11K
Developer: J?r?me Fenal
0 stars award from rbytes.net

Solaris::Disk::SVM::Graph is a Perl module for graph your Solaris Volume Manager configurations.

SYNOPSIS

my $graph = Solaris::Disk::SVM::Graph->new(
sourcedir => 'path/to/dir', # path to SVM config files,
# see Solaris::Disk::SVM for details
fontname => 'fontname',
fontsize => 'fontsize',
);

$graph->output(); # output the whole SVM config to svm.png

# output whole configuration
$graph->output(
output => '/path/to/image.svg',
# format deduced from file name, if format
# is not present
format => 'png', # or anything accepted by GraphViz,
# extension will be appended to output filename
);

# output one device
$graph->output( objects => 'd10' ); # d10 object with sub-devices to d10.png

# output many devices on same graph
$graph->output( objects => [ 'd10', 'd11' ] );

# output one device specifying output file name & format
$graph->output(
objects => 'd10'
output => '/path/to/image.svg',
format => 'png',
);

Requirements:
Perl

Solaris::Disk::SVM::Graph 0.03 search tags