FusionInventory::Agent::Tools::Solaris - Solaris generic functions
This module provides some generic functions for Solaris.
Returns current zone name, or 'global' if there is no defined zone.
Returns system model, as a string.
Returns system class, as a symbolic constant.
Returns a structured view of prtconf output. Each information block is turned into a hashref, hierarchically organised.
$info = { 'System Configuration' => 'Sun Microsystems sun4u', 'Memory size' => '32768 Megabytes', 'SUNW,Sun-Fire-V890' => { 'banner-name' => 'Sun Fire V890', 'model' => 'SUNW,501-7199', 'memory-controller' => { 'compatible' => [ 'SUNW,UltraSPARC-III,mc', 'SUNW,mc' ], } } }
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.