[Orca-users] How to exclude filesystems?

Dmitry Berezin dberezin at surfside.rutgers.edu
Tue Jan 25 12:30:46 PST 2005


Use awk to print all columns in your data file except for those you want to
exclude and save the output to a new data file.

 

  -Dmitry.

 

-----Original Message-----
From: orca-users-bounces+dberezin=acs.rutgers.edu at orcaware.com
[mailto:orca-users-bounces+dberezin=acs.rutgers.edu at orcaware.com] On Behalf
Of David Michaels
Sent: Tuesday, January 25, 2005 12:41 PM
To: orca-users at orcaware.com
Subject: [Orca-users] How to exclude filesystems?

 


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?

--Dragon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20050125/eae02a58/attachment.html>


More information about the Orca-users mailing list