FusionInventory::AgentUseroContributed Perl DoFusionInventory::Agent::Tools(3)NAMEFusionInventory::Agent::Tools - OS-independant generic functions
DESCRIPTION
This module provides some OS-independant generic functions.
This module is a backported from the master git branch.
FUNCTIONS
getCanonicalManufacturer($manufacturer)
Returns a normalized manufacturer value for given one.
getInfosFromDmidecode
Returns a structured view of dmidecode output. Each information block
is turned into an hashref, block with same DMI type are grouped into a
list, and each list is indexed by its DMI type into the resulting
hashref.
$info = {
0 => [
{ block }
],
1 => [
{ block },
{ block },
],
... }
getCpusFromDmidecode()
Returns a clean array with the CPU list.
getFusionInventoryLibdir()
Return a array reference of the location of the FusionInventory/Agent
library directory on the system.
perl v5.14.2 2012-02-22 FusionInventory::Agent::Tools(3)