[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Viewing huge log files efficiently



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