Daemon-Shutdown

 view release on metacpan or  search on metacpan

lib/Daemon/Shutdown/Monitor/smbstatus.pm  view on Meta::CPAN

=head1 NAME

Daemon::Shutdown::Monitor::smbstatus - check for samba locks

=head1 SYNOPSIS

Monitor samba file locks

=head1 DESCRIPTION

Uses C<smbstatus> to look for locked files every "loop_sleep".  If no files are locked,
the flag "trigger_pending" is set.  If a further "trigger_time" seconds
pass and all disks are still in a spun down state, the trigger is sent back to the parent
process (return 1).

=head1 METHODS

=head2 new

=over 2

lib/Daemon/Shutdown/Monitor/smbstatus.pm~  view on Meta::CPAN

=cut

our $VERSION = '0.02';

=head1 SYNOPSIS

Monitor samba file locks

=head1 DESCRIPTION

Uses C<smbstatus> to look for locked files every "loop_sleep".  If no files are locked,
the flag "trigger_pending" is set.  If a further "trigger_time" seconds
pass and all disks are still in a spun down state, the trigger is sent back to the parent
process (return 1).

=head1 METHODS

=head2 new

=over 2



( run in 0.650 second using v1.01-cache-2.11-cpan-49f99fa48dc )