From owner-freebsd-isp Sun May 16 2: 0: 9 1999 Delivered-To: freebsd-isp@freebsd.org Received: from picalon.gun.de (picalon.gun.de [194.77.0.18]) by hub.freebsd.org (Postfix) with ESMTP id 55CEA15264 for ; Sun, 16 May 1999 02:00:06 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: from klemm.gtn.com (pppak04.gtn.com [194.231.123.169]) by picalon.gun.de (8.8.6/8.8.6) with ESMTP id LAA08696; Sun, 16 May 1999 11:00:02 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.9.3/8.9.3) id KAA82864; Sun, 16 May 1999 10:47:45 +0200 (CEST) (envelope-from andreas) Date: Sun, 16 May 1999 10:47:45 +0200 From: Andreas Klemm To: xiyuan qian Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Why the file size becomes so large? Message-ID: <19990516104742.A74673@titan.klemm.gtn.com> References: <199905040905.RAA16153@dns.hgs.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199905040905.RAA16153@dns.hgs.com.cn>; from xiyuan qian on Tue, May 04, 1999 at 05:05:57PM +0800 X-Operating-System: FreeBSD 3.2-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 04, 1999 at 05:05:57PM +0800, xiyuan qian wrote: > > Hi, today I suddenly noticed that a file locates at /usr/local/program/data dir > its size becomes 11235678909 large. Why? This file is wrote by a running prog. > What's the reason? lsof from the ports collection can be used to determine, which process opened the file just in case you don't know which application is causing this. And the question why the file size becomes so large sounds a little bit silly to me. Perhaps the application simply writes so much data ?! Or you started the application with extra verbosity, just in case it is a logfile. Or you enabled debugging ... Hell ... you tell so few things about the surroundings, content of the file ... go figure yourself ... -- Andreas Klemm http://www.FreeBSD.ORG/~andreas http://www.freebsd.org/~fsmp/SMP/SMP.html powered by Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message