Unix and Linux Discussions Tagged with exact |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
3,250 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,025 |
IP Networking |
|
|
|
2 |
1,801 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,282 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,027 |
IP Networking |
|
|
|
1 |
3,423 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,341 |
UNIX for Dummies Questions & Answers |
|
|
|
18 |
6,190 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
3,867 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,361 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
17,036 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
24,950 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,569 |
UNIX for Dummies Questions & Answers |
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)