<?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 Behaviour of &amp;quot;tail -f&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454504#M770271</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;If a "tail -f" is running on a file and the file is renamed using mv, what will happen to the tail process?  Will the process remain on the system indefinitely or will it eventually be killed?&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.</description>
    <pubDate>Tue, 17 Oct 2000 12:30:53 GMT</pubDate>
    <dc:creator>Ian Cattrell</dc:creator>
    <dc:date>2000-10-17T12:30:53Z</dc:date>
    <item>
      <title>Behaviour of "tail -f"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454504#M770271</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If a "tail -f" is running on a file and the file is renamed using mv, what will happen to the tail process?  Will the process remain on the system indefinitely or will it eventually be killed?&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.</description>
      <pubDate>Tue, 17 Oct 2000 12:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454504#M770271</guid>
      <dc:creator>Ian Cattrell</dc:creator>
      <dc:date>2000-10-17T12:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour of "tail -f"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454505#M770272</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Tail will continue to read the 'moved' file and will remain forever until killed. The man pages mention an endless loop.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Tue, 17 Oct 2000 12:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454505#M770272</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-17T12:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour of "tail -f"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454506#M770273</link>
      <description>You'll be watching the 'mv'ed file.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2000 13:02:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454506#M770273</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-10-17T13:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour of "tail -f"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454507#M770274</link>
      <description>Exactly, as John and Rick have said:&lt;BR /&gt;Youd be watching an endless loop that would be the moved file. &lt;BR /&gt;Demo:&lt;BR /&gt;First window:&lt;BR /&gt;alphard:..adm/syslog&amp;gt;cat syslog.log &amp;gt;&amp;gt;titi&lt;BR /&gt;alphard:..adm/syslog&amp;gt;mv titi tutu&lt;BR /&gt;alphard:..adm/syslog&amp;gt;ll&lt;BR /&gt;total 2812&lt;BR /&gt;-rw-r--r--   1 root       root         10729 Oct 13 20:29 OLDsyslog.log&lt;BR /&gt;-r--r--r--   1 root       root       1307538 Oct 15 15:37 mail.log&lt;BR /&gt;-rw-r--r--   1 root       root         14729 Oct 17 11:33 syslog.log&lt;BR /&gt;-rw-rw-rw-   1 root       sys          17346 Oct 17 19:07 tutu&lt;BR /&gt;alphard:..adm/syslog&amp;gt;date &amp;gt;&amp;gt; tutu&lt;BR /&gt;alphard:..adm/syslog&amp;gt;date &amp;gt;&amp;gt; tutu&lt;BR /&gt;alphard:..adm/syslog&amp;gt;date &amp;gt;&amp;gt; tutu&lt;BR /&gt;alphard:..adm/syslog&amp;gt;&lt;BR /&gt;&lt;BR /&gt;2nd window:&lt;BR /&gt;119537667 -a &lt;BR /&gt;Oct 16 09:14:52 alphard ftpd[2603]: FTP LOGIN FROM 160.53.92.88 [160.53.92.88], patrol&lt;BR /&gt;Oct 16 09:35:06 alphard ftpd[2603]: exiting on signal 14&lt;BR /&gt;Oct 16 18:57:29 alphard : su : + ttyp4 vbe-logadm&lt;BR /&gt;Oct 16 19:11:51 alphard : su : + ta oracle-root&lt;BR /&gt;Oct 16 19:18:16 alphard : su : + ta oracle-dbatrd2&lt;BR /&gt;Oct 16 19:26:49 alphard : su : + ta oracle-root&lt;BR /&gt;Oct 17 11:33:41 alphard bootpd[28558]: bootpd 2.4 #1.17.112.7: Wed Apr 14 05:09:15 GMT 1999&lt;BR /&gt;Oct 17 11:33:42 alphard bootpd[28558]: reading "/etc/bootptab"&lt;BR /&gt;Oct 17 11:33:42 alphard bootpd[28558]: read 2 entries from "/etc/bootptab"&lt;BR /&gt;Tue Oct 17 19:07:52 METDST 2000&lt;BR /&gt;Tue Oct 17 19:07:58 METDST 2000&lt;BR /&gt;Tue Oct 17 19:08:01 METDST 2000&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2000 16:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454507#M770274</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-10-17T16:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Behaviour of "tail -f"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454508#M770275</link>
      <description>The above mentioned answers are ONLY true if the source and destination of the move-command is on the SAME logical volume !&lt;BR /&gt;&lt;BR /&gt;If you move the file to another logical volume the inode changes and from that moment on you won't see any new additions with tail !  &lt;BR /&gt;So if you move on the SAME logical volume you will see new additions to the file because the inode-number hasn't changed, but if you move to another logical volume the inode-number changes and then you have to kill the 'tail -f' and issue a new 'tail -f' of the new file.&lt;BR /&gt;&lt;BR /&gt;Hope this explains a little bit more,</description>
      <pubDate>Wed, 18 Oct 2000 05:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/behaviour-of-quot-tail-f-quot/m-p/2454508#M770275</guid>
      <dc:creator>MARREEL Chris_1</dc:creator>
      <dc:date>2000-10-18T05:23:40Z</dc:date>
    </item>
  </channel>
</rss>

