Re: Program to show just last few lines?



On Tue, 27 Jun 2006 03:59:06 +0000, x0054 wrote:

Is there a program that would just print last few lines of a file. I guess
this could be done with sed or something like that, but I was wondering if
there is a program that would actually read the file from the back and just
print last x amount of lines, so that I would not have to load the entire
file into memory.

Thank you,

- Bogdan

tail

.



Relevant Pages

  • Re: managed pool question
    ... You might get out-of-memory errors. ... > and I will load it all at once in loading time. ... > the amount of resources that will be loaded all at once is ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: memory leak in asp 2.0
    ... Almost certainly the problem is in storing large amount of data in session ... I expected that it will get some amount of memory, ... I call each time 'Page unload' when I load new page but never when I close ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: size of huge memory
    ... > we expand the memory size to load huge amount of data? ...
    (comp.lang.c)
  • Re: Storing data in memory vs reading data from a file
    ... opt to load only the data needed, but in the end performance is a subjective ... cars but the application only displays information about one car at a time. ... in terms of access speed and limiting the amount of memory ... amount of memory required. ...
    (microsoft.public.pocketpc.developer)
  • Re: memory and page faults (continued)
    ... settings - it depends on the DB configuration, the amount of memory, the load on ... Values of 3-8 or 5-10 look about right to me; 15-40 is a bit conservative for a system with a decent amount of memory. ...
    (AIX-L)