Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sys::filesystem::unix(3pm) [debian man page]

Sys::Filesystem::Unix(3pm)				User Contributed Perl Documentation				Sys::Filesystem::Unix(3pm)

NAME
Sys::Filesystem::Unix - Return generic Unix filesystem information to Sys::Filesystem SYNOPSIS
See Sys::Filesystem. INHERITANCE
Sys::Filesystem::Unix ISA UNIVERSAL METHODS
version() Return the version of the (sub)module. readFsTab This method provides the capability to parse a standard unix fstab file. It expects following arguments: fstabPath Full qualified path to the fstab file to read. fstabKeys The column names for the fstab file through an array reference. special_fs Hash reference containing the names of all special file systems having a true value as key. This method return true in case the specified file could be opened for reading, false otherwise. readMntTab This method provides the capability to read abd parse a standard unix mount-tab file. The file is locked using flock after opening it. It expects following arguments: mnttabPath Full qualified path to the mnttab file to read. mnttabKeys The column names for the mnttab file through an array reference. $special_fs Hash reference containing the names of all special file systems having a true value as key. This method return true in case the specified file could be opened for reading and locked, false otherwise. readMounts This method is called to parse the information got from "mount" system command. It expects following arguments: mount_rx Regular expression to extract the information from each mount line. pridx Array reference containing the index for primary keys of interest in match in following order: device, mount_point, type. keys Array reference of the columns of the match - in order of paranteses in regular expression. special Array reference containing the names of the special file system types. lines Array containing the lines to parse. readSwap This method is called to parse the information from the swap status. It expects following arguments: swap_rx Regular expression to extract the information from each swap status line. This regular expression should have exact one pair of parantheses to identify the swap device. lines Array containing the lines to parse. VERSION
$Id: Unix.pm 128 2010-05-12 13:16:44Z trevor $ AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk> Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/> COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington. Copyright 2008-2010 Jens Rehsack. This software is licensed under The Apache Software License, Version 2.0. <http://www.apache.org/licenses/LICENSE-2.0> perl v5.10.1 2010-05-18 Sys::Filesystem::Unix(3pm)

Check Out this Related Man Page

Sys::Virt::Interface(3pm)				User Contributed Perl Documentation				 Sys::Virt::Interface(3pm)

NAME
Sys::Virt::Interface - Represent & manage a libvirt host network interface DESCRIPTION
The "Sys::Virt::Interface" module represents a host network interface allowing configuration of IP addresses, bonding, vlans and bridges. METHODS
my $name = $iface->get_name() Returns a string with a locally unique name of the network $iface->is_active() Returns a true value if the interface is currently running my $name = $iface->get_mac() Returns a string with the hardware MAC address of the interface my $xml = $iface->get_xml_description() Returns an XML document containing a complete description of the network's configuration $iface->create() Start a network whose configuration was previously defined using the "define_network" method in Sys::Virt. $iface->undefine() Remove the configuration associated with a network previously defined with the "define_network" method in Sys::Virt. If the network is running, you probably want to use the "shutdown" or "destroy" methods instead. $iface->destroy() Immediately terminate the machine, and remove it from the virtual machine monitor. The $iface handle is invalid after this call completes and should not be used again. CONSTANTS
XML CONSTANTS The following constants are used when querying XML Sys::Virt::Interface::XML_INACTIVE Request the inactive XML, instead of the current possibly live config. AUTHORS
Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2006-2009 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file. SEE ALSO
Sys::Virt, Sys::Virt::Error, "http://libvirt.org" perl v5.14.2 2012-05-21 Sys::Virt::Interface(3pm)
Man Page