[Orca-dev] Re: Orca and DiskSuite
Paul Haldane
Paul.Haldane at newcastle.ac.uk
Mon Jan 17 05:32:27 PST 2000
From: Paul Haldane <Paul.Haldane at newcastle.ac.uk>
See the attached patch (or below). You'll also need to change the data
line in the 'Disk Run Percent' section of your cfg file from
data disk_runp.(c\d+t\d+d\d+)
to
data disk_runp.((c\d+t\d+d\d+)|(md\d+))
Paul
[
Change is from...
! put_output(sprintf("disk_runp_c%dt%dd%d",
! GLOBAL_disk[i].info.controller,
! GLOBAL_disk[i].info.target,
! GLOBAL_disk[i].info.device),
to...
! put_output(sprintf("disk_runp_%s",
! GLOBAL_disk[i].info.long_name),
]
On Mon, 17 Jan 2000, Arnaud wrote:
> From: Arnaud <arnaud at ukibi.com>
>
> Paul Haldane wrote:
> >
> > From: Paul Haldane <Paul.Haldane at newcastle.ac.uk>
> >
> > I've looked at my data files (as opposed to just the graphs) and I do see
> > the same symptoms as you. disk_runp.c0t0d0 is listed 13 times in the
> > percol file - once for the real disk and 12 extras and one for each of the
> > metadisks.
> >
> > I guess this is because of a conflict between what diskinfo.se does with
> > information about metadisks and what orcollator is expecting. diskinfo.se
> > always sets info.{controller,target,device} to 0 for metadisks but
> > orcollator expects to be able to contruct a disk name of the form
> > c?t?d? from this info.
> >
> > I think we'd be better off using info.long_name rather than constructing a
> > name from the {controller,target,device}. Blair, I'm happy to try this on
> > my machines - is there any reason you can think of that this won't work?
> >
> > Paul
>
>
> If you some more beta testing of your modifications, I would be happy to
> test it on my machine too.
>
> Thanks for your help.
>
>
> --
> Arnaud Lebrun
> E-AdBook, Inc.
> http://www.ukibi.com/arnaud.lebrun/
>
> --------------------------- ONElist Sponsor ----------------------------
>
> Independent contractors: Find your next project gig through JobSwarm!
> You can even make money by referring friends.
> <a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>
>
> ------------------------------------------------------------------------
>
>
>
--------------------------- ONElist Sponsor ----------------------------
Hey Freelancers: Find your next project through JobSwarm!
You can even make money in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>
------------------------------------------------------------------------
-------------- next part --------------
*** orcallator.se-1.20.3+nfss Mon Jan 17 13:18:49 2000
--- orcallator.se-1.20.3+nfss+ods Mon Jan 17 13:20:28 2000
***************
*** 1019,1028 ****
total_readk = 0.0;
total_writek = 0.0;
for (i=0; i<GLOBAL_disk_count; i++) {
! put_output(sprintf("disk_runp_c%dt%dd%d",
! GLOBAL_disk[i].info.controller,
! GLOBAL_disk[i].info.target,
! GLOBAL_disk[i].info.device),
sprintf("%16.5f", GLOBAL_disk[i].run_percent));
total_reads += GLOBAL_disk[i].reads;
total_writes += GLOBAL_disk[i].writes;
--- 1019,1026 ----
total_readk = 0.0;
total_writek = 0.0;
for (i=0; i<GLOBAL_disk_count; i++) {
! put_output(sprintf("disk_runp_%s",
! GLOBAL_disk[i].info.long_name),
sprintf("%16.5f", GLOBAL_disk[i].run_percent));
total_reads += GLOBAL_disk[i].reads;
total_writes += GLOBAL_disk[i].writes;
More information about the Orca-dev
mailing list