table of contents
other versions
- wheezy 2.2.3-8
| FusionInventory::Agent::Tools::MacOS(3pm) | User Contributed Perl Documentation | FusionInventory::Agent::Tools::MacOS(3pm) |
NAME¶
FusionInventory::Agent::Tools::MacOS - MacOS generic functionsDESCRIPTION¶
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
getIODevices(%params)¶
Returns a flat list of devices as a list of hashref, by parsing ioreg output. Relationships are not extracted.- logger a logger object
- class the class of devices wanted
- file the file to use, as an alternative to the command
| 2012-06-25 | perl v5.14.2 |