OK, you gurus out there are going to yawn about this one, I'm sure. But I ran 
the following from my shell prompt:

bzcat irradu00.g*bz2|perl dosearch.pl >usage.data.irradu00

Now, there are 72 files which match that pattern. Each file is about 35Mb and 
is highly compressed. I had no way to determine how far along I was at all. 
Just for fun, I fired up another shell session, did a cd into the same 
directory and entered:

lsof irradu00.g*bz2

Behold!

COMMAND  PID        USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
bzcat   5794 john.mckown    3r   REG  253,3 35692524  492 irradu00.g1028v00.bz2
bzcat is nice enought to open/close each file in its parameter list in order, 
from 0962 to 1036 (which verified via the ps -Af command).

So I now have a way to get an idea how far along my process is. OK, it only 
works for something funky like this. But I am pleased and thought I would share.

John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to