Stephane Chmielewski > Solaris-Modinfo-0.1 > Solaris::Modinfo

Download:
Solaris-Modinfo-0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1   Source  

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.

syntax highlighting: