tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Edward Dubrovsky/CGI <edward.dubrovsky () cgi ! ca>
To: tru64-unix-managers
Subject: Scripting Question
Date: Wed, 19 Sep 2001 16:22:17 +0000	[thread overview]
Message-ID: <102653680322035.tru64-unix-managers.marc@archive.invalid> (raw)

Hi All,

This should be a fairly easy question. I have created a file using awk
containing a bunch of records from an iostat command output. I am filtering
the idle cpu time via the awk command. Now as you know the first line would
be blank (due to it being  originally a date line), the 2nd line is also
blank since it does not contain column 24 which I filter on (titles), the
next line would contain the "id" column followed by two lines. The first
line would be the average to this point and the second line would be the
actual idle cpu time for this time/second.

What I need to do is filter by every 5th line. Trying to figure out how to
grep this?? I was hoping perhaps someone can provide a quick response to
this little problem.


Thanks,

Ed D.

                 reply	other threads:[~2001-09-19 16:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox