[Orca-users] How to exclude filesystems?
Robert Au
rau at lsil.com
Tue Jan 25 12:28:48 PST 2005
On Tue, Jan 25, 2005 at 10:41:26AM -0700, David Michaels wrote:
>
> I'm trying to tweak my Disk Usage group to exclude some filesystems.
> Currently, it looks like this:
>
> plot {
> title %g Disk Space Percent Usage
> source orcallator
> data mntP_(.*)
> [...and so on...]
>
> I want to exclude /vxckpt and /checkpoints from the data used to
> generate these graphs, but I can't figure out how to do negation in Perl
> other than doing != (which won't work here, since I'm just defining the
> string to use in a hard-coded =~ operation). I feel like I'm missing
> something obvious, but just can't see it. I've already tweaked the
> orcallator.se file so that those directories won't be captured anymore,
> but since this data already exists in a couple of data files, it's
> showing up in the graphs and probably will forever.
>
> Barring a way to match "everything but -blah-", is there an easy way to
> delete columns from data files?
You probably want a negative look-ahead assertion, but I must say I
haven't tried these with orca. Something like
data mntP_(?!/(?:vxckpt|checkpoints))(.*)
should work.
--
Robert Au rau at lsil.com
More information about the Orca-users
mailing list