From owner-freebsd-questions Tue Apr 9 10:12:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id D5D0A37B422 for ; Tue, 9 Apr 2002 10:12:09 -0700 (PDT) Received: from onyx ([128.226.182.171]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id g39HC8125386 for ; Tue, 9 Apr 2002 13:12:08 -0400 (EDT) Date: Tue, 9 Apr 2002 13:09:42 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@onyx To: freebsd-questions@freebsd.org Subject: monitor the growth of a file. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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? Thanks, -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message