App-ProcTrends

 view release on metacpan or  search on metacpan

lib/App/ProcTrends/Cron.pm  view on Meta::CPAN

    croak "error while creating $file: $ERR\n" if $ERR;
    return 1;
}

=head2 update_rrd

    Updates an rrd file

=cut

sub update_rrd {
    my ( $self, $file, $key, $value ) = @_;
    
    my $rrd = RRD::Simple->new( file => $file );
    $rrd->update( $key => $value );
}

=head2 alrm_handler

    Signal handler for alarm().  It is an instance method because I need access
    to the attributes.



( run in 0.240 second using v1.01-cache-2.11-cpan-95122f20152 )