Solaris::SMF - Manipulate Solaris 10 services from Perl
Version 0.02
Interface to Sun's Service Management Facility in Solaris 10. This module provides a wrapper around 'svcs', 'svcadm' and 'svccfg'.
The SMF in Solaris is a replacement for inetd as well as the runlevel-based stopping and starting of daemons. Service definitions are stored in an XML database.
The biggest advantages in using SMF are the resiliency support, consistent interface and inter-service dependencies it offers. Services that die for any reason can be automatically restarted by the operating system; all services can be enabled or disabled using the same commands; and services can be started as soon as all the services they depend upon have been started, rather than at a fixed point in the boot process.
Get a list of SMF services, using an optional wildcard as a filter. The default is to return all services.
Returns a list of Solaris::SMF::Service objects.
Brad Macpherson, <brad at teched-creations.com>
<brad at teched-creations.com>
Please report any bugs or feature requests to bug-solaris-smf at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Solaris-SMF. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-solaris-smf at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Solaris::SMF
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Solaris-SMF
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Solaris-SMF
CPAN Ratings
http://cpanratings.perl.org/d/Solaris-SMF
Search CPAN
http://search.cpan.org/dist/Solaris-SMF/
Copyright 2009 Brad Macpherson.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public Licence as published by the Free Software Foundation; or the Artistic Licence.
See http://dev.perl.org/licenses/ for more information.
To install Solaris::SMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Solaris::SMF
CPAN shell
perl -MCPAN -e shell install Solaris::SMF
For more information on module installation, please visit the detailed CPAN module installation guide.