From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 21:39:34 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08A6816D0F1 for ; Tue, 6 Jun 2006 21:32:48 +0000 (UTC) (envelope-from gladiatr72@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2B7043D4C for ; Tue, 6 Jun 2006 21:32:46 +0000 (GMT) (envelope-from gladiatr72@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so26324nzn for ; Tue, 06 Jun 2006 14:32:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=O83aYeCJ/rBKgjhUg1tBw5r2Db1fSKDdfoXrWrCvin5LJRI7Ko6DBXSIU9oM2HV1oPML8hzCYqvuwgGb6x4YYLi+sHc9CI/Yi9tka1V8brElz/Iua9Pbq08iS1G/TTWSdSpNEOov3GGAdGslyyj5q3DWeljHfzrl6/ewpV/8mVU= Received: by 10.65.228.2 with SMTP id f2mr5077189qbr; Tue, 06 Jun 2006 14:32:46 -0700 (PDT) Received: by 10.65.52.4 with HTTP; Tue, 6 Jun 2006 14:32:45 -0700 (PDT) Message-ID: <887b876a0606061432x33283a4fr90b21ae69f07ea83@mail.gmail.com> Date: Tue, 6 Jun 2006 16:32:45 -0500 From: "Stephen D. Spencer" To: "Eduardo Meyer" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org Subject: Re: How can I know which files a proccess is accessing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 21:39:35 -0000 On 6/6/06, Eduardo Meyer wrote: > > Hello, > > I need to know which files under /var a proccess (httpd here) is > acessing. It is not logs because I have a different partition for > logs. > > [...] check out ./ports/sysutils/lsof. An excellent little util that has become a standard on all of my *NIXish installs. It'll tell you all you ever wanted to know (and more) about which pieces of your OS are touching what. -- Stephen Spencer Lawrence, KS "If God dropped acid, would he see people?"