[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Viewing huge log files efficiently
- Subject: [ale] Viewing huge log files efficiently
- From: jb at sourceillustrated.com (John Wells)
- Date: Fri, 30 May 2003 16:45:31 -0400 (EDT)
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