FusionInventory::Agent::Tools::Generic - OS-independent generic functions
This module provides some OS-independent 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 some information about a device, using hdparm.
Availables parameters:
Returns a list of PCI devices as a list of hashref, by parsing lspci command output.
Returns the PCI vendor matching this ID.
Returns the PCI class matching this ID.
Returns the USB vendor matching this ID.
Returns the USB class matching this ID.
Returns the EDID vendor matching this ID.
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.