Author image Stephane Chmielewski

NAME

Solaris::Modinfo - Perl module providing object oriented interface to modinfo (display information about Solaris loaded kernel modules)

SYNOPSIS

        use Solaris::Modinfo;

        my $module  = Solaris::Modinfo->new();
        my $modinfo = $module->listModule();

        print "Number of modules : ", $module->countModule(), "\n";

        map {
                print $modinfo->{$_}{Id}, "  ",
                        $modinfo->{$_}{Loadaddr}, "  ",
                        $modinfo->{$_}{Size}, "  ",
                        $modinfo->{$_}{Info}, "  ",
                        $modinfo->{$_}{Rev}, "  ",
                        $modinfo->{$_}{ModuleName}, "\n";
        }(keys %{ $modinfo });

DESCRIPTION

This module provides an object oriented interface to the module informations. The implementation attempts to display informations about Solaris loaded kernel modules.

METHODS

listModule

Provide a reference to a hash of the modinfo parameters.

countModule

Display the number of kernel module loaded.

showModule

Display the information of kernel module loaded.

AUTHOR

Stephane Chmielewski <snck@free.fr>

COPYRIGHT

Copyright (C) 2006 Stephane Chmielewski. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 106:

'=item' outside of any '=over'

Around line 118:

You forgot a '=back' before '=head1'