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.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Solaris::Modinfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Solaris::Modinfo
CPAN shell
perl -MCPAN -e shell install Solaris::Modinfo
For more information on module installation, please visit the detailed CPAN module installation guide.