f



Re: jobs streaming jobs streaming jobs

HP-3000 Systems Discussion wrote:
> I'm working on chasing down job stream hierarchy. Starting
> with a main job, and
> the jobs it streams, identify the next layer of jobs those
> jobs stream, and so
> on. Three layers down, I am finding jobs that stream anywhere from
> three dozen jobs to over a hundred.

You can use the shell and your old friend grep:

$ fgrep "stream" /SYS/ARPA/*

And

$ fgrep "STREAM" /SYS/ARPA/*

A better Unix-head than I may know how to do it caseless or as an "OR"...

Mark W.

P.S. Use grep instead of fgrep to use regular expressions if not just
matching a whole string.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

0
Mark
8/21/2004 2:46:46 AM
comp.sys.hp.mpe 25828 articles. 0 followers. rhorner (2) is leader. Post Follow

1 Replies
1271 Views

Similar Articles

[PageSpeed] 24

In article <rfCdneckiKIEKrvcRVn-gw@fidnet.com>, wonsil@4m-ent.com 
says...

> You can use the shell and your old friend grep:
> 
> $ fgrep "stream" /SYS/ARPA/*
> 
> And
> 
> $ fgrep "STREAM" /SYS/ARPA/*
> 
> A better Unix-head than I may know how to do it caseless or as an "OR"...

The -i flag will do that for you.

-- 
http://www.beluga.freeserve.co.uk
0
Peter
8/23/2004 8:38:19 AM
Reply: