[Orca-users] Re: How to use date_parse ??

Blair Zajac blair at orcaware.com
Fri Jun 7 14:03:19 PDT 2002


xlheel wrote:
> 
> Hi All
> 
> I have log-file for the use of my drives in the format
> drivekap.yyyymmdd with contains like
> 
> 00:00:02 10  3  0 30.00% 0.00%
> 
> I have made a perl subroutine that returns the epoch-time based on
> the filename and the first column, but I can't get to function in the
> config_file.
> 
> Extract from config_file
> 
> date_source column_name time
> date_parse sub {
> use Time::Local;
> my $file=$_[0];
> my $time=$_[1];
> .
> .
> .
> return epoch;
> }
> 

Orca's configuration file does not support this.  You have to
preprocess your data to get the Unix epoch time into the file
that Orca will read.

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/



More information about the Orca-users mailing list