Jérôme Fenal > Solaris-Disk-SVM-Graph-0.03 > Solaris::Disk::SVM::Graph

Download:
Solaris-Disk-SVM-Graph-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

NAME ^

Solaris::Disk::SVM::Graph - 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',
    );

FUNCTIONS ^

AUTHOR ^

Jérôme Fenal <jfenal@free.fr>

WEBSITE ^

Head to http://jfenal.free.fr/Solaris/ to see some sample graphics.

VERSION ^

This is version 0.03 of the Solaris::Disk::SVM::Graph script.

COPYRIGHT ^

Copyright (C) 2004, 2005 Jérôme Fenal. All Rights Reserved

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

SEE ALSO ^