Immediate exit

Mark Poepping poepping at cmu.edu
Tue Apr 26 11:01:08 EDT 2011


Use the record count feature.
	ra  -N 1 

-----Original Message-----
From: argus-info-bounces+poepping=cmu.edu at lists.andrew.cmu.edu
[mailto:argus-info-bounces+poepping=cmu.edu at lists.andrew.cmu.edu] On Behalf
Of elof2 at sentor.se
Sent: Tuesday, April 26, 2011 10:37 AM
To: Argus Development
Subject: [ARGUS] Immediate exit


Question (and feature request):

Is it possible to have 'ra' terminate immediately in cases similar to
this:

ra -r huge.logfile | head -1


There's no need for 'ra' to spend minutes chewing through the rest of the
logfile(s). The pipe command has terminated and is not waiting for any more
data.

/Elof





More information about the argus mailing list