FusionInventory::Agent::Tools::Generic - OS-independant generic functions
This module provides some OS-independant generic functions.
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 }, ], ... }
Returns a list of CPUs, from dmidecode output.
Returns a list of PCI devices as a list of hashref, by parsing lspci command output.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.