From owner-freebsd-questions Tue Apr 9 10:18:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clink.schulte.org (clink.schulte.org [209.134.156.193]) by hub.freebsd.org (Postfix) with ESMTP id 476E237B421 for ; Tue, 9 Apr 2002 10:18:39 -0700 (PDT) Received: from schulte-laptop.nospam.schulte.org (nb-65.netbriefings.com [209.134.134.65]) by clink.schulte.org (Postfix) with ESMTP id 5FE3B243C1; Tue, 9 Apr 2002 12:18:37 -0500 (CDT) Message-Id: <5.1.0.14.0.20020409121640.0491f418@pop3s.schulte.org> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 09 Apr 2002 12:17:02 -0500 To: Zhihui Zhang , freebsd-questions@freebsd.org From: Christopher Schulte Subject: Re: monitor the growth of a file. In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 01:09 PM 4/9/2002 -0400, Zhihui Zhang wrote: >I have a text file that grows steadily by an application. Is there a way I >can monitor the growth of it? One way is to write a script with a line >like "cat filename | tail" in a loop. But is there a better way? tail -f >Thanks, > >-Zhihui -- Christopher Schulte http://www.schulte.org/ Do not un-munge my @nospam.schulte.org email address. This address is valid. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message