The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FusionInventory::Agent::Tools::Solaris - Solaris generic functions

DESCRIPTION

This module provides some generic functions for Solaris.

FUNCTIONS

getZone()

Returns current zone name, or 'global' if there is no defined zone.

getModel()

Returns system model, as a string.

getclass()

Returns system class, as a symbolic constant.

getPrtconfInfos(%params)

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', '0xf00298fc' => { 'banner-name' => 'Sun Fire V890', 'model' => 'SUNW,501-7199', '0xf007c538' => { 'compatible' => [ 'SUNW,UltraSPARC-III,mc', 'SUNW,mc' ], } } }