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

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 });

This module provides an object oriented interface to the module informations. The implementation attempts to display informations about Solaris loaded kernel modules.
Provide a reference to a hash of the modinfo parameters.
Display the number of kernel module loaded.
Display the information of kernel module loaded.

Stephane Chmielewski <snck@free.fr>

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.