FusionInventory::AgentUseroContributed)FusionInventory::Agent::Tools::MacOS(3)NAMEFusionInventory::Agent::Tools::MacOS - MacOS generic functions
DESCRIPTION
This module provides some generic functions for MacOS.
FUNCTIONS
getSystemProfilerInfos(%params)
Returns a structured view of system_profiler output. Each information
block is turned into a hashref, hierarchically organised.
$info = {
'Hardware' => {
'Hardware Overview' => {
'SMC Version (system)' => '1.21f4',
'Model Identifier' => 'iMac7,1',
...
}
} }
logger a logger object
command the exact command to use (default: /usr/sbin/system_profiler)
file the file to use, as an alternative to the command
perl v5.14.22012-FusionInventory::Agent::Tools::MacOS(3)