FusionInventory::Agent::Tools::Linux - Linux generic functions
This module provides some generic functions for Linux.
Returns a list of devices, by parsing /dev/.udev directory. This directory is not exported anymore with recent udev.
Availables parameters:
Returns a list of devices, by parsing lshal output.
Returns a list of devices, by parsing /proc filesystem.
Returns a list of cpus, by parsing /proc/cpuinfo file
Returns some information about a device, using smartctl.
Returns the list of interfaces, by parsing ifconfig command output.
Returns interface datas, by parsing results from ethtool system call request.
Returns the list of interfaces, by parsing ip 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.