[Orca-users] several Disk Run Percent Plots: appropriate regular expression

Blair Zajac blair at orcaware.com
Tue Jun 15 21:11:21 PDT 2004


Gerd Bavendiek wrote:

> Hi,
> 
> I want to make several Disk Run Percent Plots, e.g. 
> 
> one for all disks starting with c18t0d2 up to c18t0d12
> and a second for all from c18t0d25 to c18t0d33.
> 
> Unfortunateley I could not find an appropriate regular expression
> instead of
> 
> data    disk_runp_((?:c[01]8?t\d+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+))
> 
> Any ideas ?
> 

Hi Gerd,

Because you know the exact format of the disks you want, you can simplify the 
regular expression to something like this:

data disk_runp_(c18t0d(?:(?:\d)|1[012]))

and in duplicate copy of the plot,

data disk_runp_(c18t0d[23]\d)

These are specific to the two ranges you said.  The first range is a little tricky.

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



More information about the Orca-users mailing list