++ed by:
AERO

1 PAUSE user
1 non-PAUSE user.

Guillaume Bougard

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