[ale] Viewing huge log files efficiently

John Wells jb at sourceillustrated.com
Fri May 30 16:45:31 EDT 2003


Ok, so now I have a 132 mb log file that's been gziped up.  What's the
most efficient way of getting, say, the last 1000 lines or so?  I thought
about:

tail -1000 $(zcat out.gz)

But that would first cat it out and consume, imo, massive amounts of
memory and swap.  What's the better way?

Thanks,
John



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list