FusionInventory::Agent::Tools::Unix(3pm)		User Contributed Perl Documentation		  FusionInventory::Agent::Tools::Unix(3pm)

NAME
FusionInventory::Agent::Tools::Unix - Unix-specific generic functions DESCRIPTION
This module provides some Unix-specific generic functions. FUNCTIONS
getDeviceCapacity(%params) Returns storage capacity of given device, using fdisk. Availables parameters: logger a logger object device the device to use getIpDhcp Returns an hashref of information for current DHCP lease. getFilesystemsFromDf(%params) Returns a list of filesystems as a list of hashref, by parsing given df command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getFilesystemsTypesFromMount(%params) Returns a list of used filesystems types, by parsing given mount command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getProcessesFromPs(%params) Returns a list of processes as a list of hashref, by parsing given ps command output. logger a logger object command the exact command to use file the file to use, as an alternative to the command getRoutingTable Returns the routing table as an hashref, by parsing netstat command output. logger a logger object command the exact command to use (default: netstat -nr -f inet) file the file to use, as an alternative to the command perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Unix(3pm)