Illumos::SMF - SMF control object
use Illumos::SMF; ... my $smf = Illumos::SMF->new(zonesupport => 1, debug => 0); ...
object to manage SMF
if enabled, SMF can handle FMRI in zones
print debug information to STDERR
refreshs the instance
lists all child entities of a FMRI. lists instances only if 'instancesonly' is set.
checks if the FMRI exists
returns the state of the FMRI
checks if the FRMI is online
enables the FMRI
disables the FMRI
restarts the FMRI
checks whether a property or property group exists or not
adds an FMRI to SFM
removes an FMRI from SMF
adds an instance to an existing FMRI
returns a list of property groups
returns whether a property exists or not
returns whether a property group exists or not
adds a property group to a FMRI
deletes a property group from a FMRI
sets a property of a FMRI
sets a set of properties of a property group of a FMRI
gets the set of properties of a property group of a FMRI
sets all properties of a FMRI
gets all properties of a FMRI
Copyright (c) 2015 by OETIKER+PARTNER AG. All rights reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Dominik Hassler <hadfl@cpan.org>, Tobias Oetiker <tobi@oetiker.ch>
2015-05-07 had Initial Version
To install Illumos::SMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Illumos::SMF
CPAN shell
perl -MCPAN -e shell install Illumos::SMF
For more information on module installation, please visit the detailed CPAN module installation guide.