[Orca-users] Request info orca configuration

Federico Oneta F.Oneta at epta.it
Wed Mar 19 23:08:45 PST 2003


Hello Blair,

i have a problem for configuration file to plot ritardi GLI .
The problem is what the file percol contain more record whith line = 0 ,
when orca print the graphic, the average is false because I want the
avarege only record what have the number different of 0. You have piece of
advice??
Thank you very very much.

I send you the file of configuration and the percol file.

Regards
Federico





group fol {
find_files              /app/orca/var/orca/fol/(.*)/(?:(?:orcallator)
|(?:percol))-\d{4}-\d{2}-\d{2}(?:\.(?:Z|gz|bz2))?
column_description      first_line
date_source             column_name timestamp
interval                1
filename_compare        sub {
                          my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)
-(\d\d)/;
                          my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)
-(\d\d)/;
                          if (my $c = (( $ay       <=>  $by) ||
                                       ( $am       <=>  $bm) ||
                                       (($ad >> 3) <=> ($bd >> 3)))) {
                            return 2*$c;
                          }
                          $ad <=> $bd;
                        }
}





plot {
title                   %g Ritardi GLI
source                  fol
data                    06201
data                    13462
data                    13746
legend                  Mercato CW
legend                  Mercato MTA
legend                  Mercato IDEM
y_legend                Media elab. record/s
data_min                0
data_max                20
href
http://www.orcaware.com/orca/docs/orcallator.html#processes_in_run_queue
}


This is the content of my file PERCOL:

 timestamp locltime 06201 13462 13746
1046905200 00:00:00 0 0 0
.
.
.
.
.
.
.
1046942072 10:14:32 0 1.66666666666667 0
1046942073 10:14:33 0 0 2
1046942074 10:14:34 0 0 0 This record didn't in average
1046942075 10:14:35 0 2 0
1046942076 10:14:36 0 0 0 This record didn't in average
1046942077 10:14:37 0 3 1
1046942078 10:14:38 0 2 3
1046942079 10:14:39 0 0 2
1046942080 10:14:40 0 0 0 This record didn't in average
1046942081 10:14:41 0 0 3
1046942082 10:14:42 0 1.5 0
1046942083 10:14:43 0 2 0
1046942084 10:14:44 0 3 1
1046942085 10:14:45 0 0 0 This record didn't in average
1046942086 10:14:46 0 0 0 This record didn't in average
1046942087 10:14:47 0 0 0 This record didn't in average
1046942088 10:14:48 2 0 3
1046942089 10:14:49 0 0 0 This record didn't in average
1046942090 10:14:50 0 0 0 This record didn't in average
1046942091 10:14:51 0 0 0 This record didn't in average
1046942092 10:14:52 0 0 0 This record didn't in average
1046942093 10:14:53 0 0 0 This record didn't in average
1046942094 10:14:54 0 0 2
1046942095 10:14:55 0 0 0.833333333333333
1046942096 10:14:56 0 0 0 This record didn't in average
1046942097 10:14:57 2 0 0
1046942098 10:14:58 0 0 0 This record didn't in average
.
.
.
.
.
1046991599 23:59:59 0 0 0





P.S: Excuse for my english.







-----------------------------------------------------------------
http://www.eptaconsors.it
http://www.eptatrading.com
http://www.eptafund.it
-----------------------------------------------------------------
Le informazioni contenute in questa comunicazione e gli eventuali
documenti  allegati  hanno  carattere  confidenziale e sono ad uso
esclusivo  del  destinatario. Nel  caso  questa comunicazione Vi sia
pervenuta   per  errore ,  Vi informiamo  che  la  sua  diffusione  e
riproduzione   è   contraria  alla   legge  e  preghiamo  di  darci
prontamente  avviso  e  di  cancellare  quanto  ricevuto.
--------------------------------------------------
This e-mail message and any files transmitted with it contain
confidential information  intended  only for the person(s) to
whom it is addressed. If  you are not the intended recipient,
you are hereby notified  that any use  or  distribution of this
e-mail is strictly prohibited,  please  notify  the  sender and
delete the original message.




More information about the Orca-users mailing list