<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Last lines in the fileself in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904602#M404787</link>
    <description>Be aware that tail will very likely fail because it is limited by the 20K buffer it uses.  From the man page:&lt;BR /&gt;&lt;BR /&gt;"WARNINGS  Tails relative to end-of-file are stored in a 20-Kbyte buffer, and thus are limited in length."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Tue, 31 May 2005 07:37:32 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-05-31T07:37:32Z</dc:date>
    <item>
      <title>Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904599#M404784</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have one process and generated file log.&lt;BR /&gt;This file log contain 3412312 lines and is necesary for futures review.&lt;BR /&gt;&lt;BR /&gt;I need compress this file log and only less the&lt;BR /&gt;last 10000 lines...&lt;BR /&gt;&lt;BR /&gt;Any sugestion ?...&lt;BR /&gt;Thanks ....</description>
      <pubDate>Mon, 30 May 2005 12:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904599#M404784</guid>
      <dc:creator>Oscar Paredes Alvarez</dc:creator>
      <dc:date>2005-05-30T12:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904600#M404785</link>
      <description>hi Oscar &lt;BR /&gt;&lt;BR /&gt;similar thread with good solutions:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=426892" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=426892&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Henk</description>
      <pubDate>Mon, 30 May 2005 12:49:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904600#M404785</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-05-30T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904601#M404786</link>
      <description>You can extract last 10000 lines from that log file and put into another file. Remote / archive the original log file.&lt;BR /&gt;&lt;BR /&gt;1. tail 10000 &lt;FILENAME&gt; &amp;gt; &lt;NEWFILENAME&gt;&lt;BR /&gt;2. Using awk / sed + wc we can do it.&lt;BR /&gt;&lt;/NEWFILENAME&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 31 May 2005 07:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904601#M404786</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-05-31T07:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904602#M404787</link>
      <description>Be aware that tail will very likely fail because it is limited by the 20K buffer it uses.  From the man page:&lt;BR /&gt;&lt;BR /&gt;"WARNINGS  Tails relative to end-of-file are stored in a 20-Kbyte buffer, and thus are limited in length."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 31 May 2005 07:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904602#M404787</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-05-31T07:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904603#M404788</link>
      <description>&lt;BR /&gt;use the tail command.  eg: tail -n 10000 file&lt;BR /&gt;&lt;BR /&gt;if it proves to be failing then write a program of your self which seeks to end of file and reads the line in reverse.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 31 May 2005 08:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904603#M404788</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-31T08:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Last lines in the fileself</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904604#M404789</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;The comments are importants...</description>
      <pubDate>Tue, 31 May 2005 10:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/last-lines-in-the-fileself/m-p/4904604#M404789</guid>
      <dc:creator>Oscar Paredes Alvarez</dc:creator>
      <dc:date>2005-05-31T10:02:36Z</dc:date>
    </item>
  </channel>
</rss>

