From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 09:42:16 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AF5516A41F for ; Thu, 17 Nov 2005 09:42:16 +0000 (GMT) (envelope-from guru@Sisis.de) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5FB43D46 for ; Thu, 17 Nov 2005 09:42:15 +0000 (GMT) (envelope-from guru@Sisis.de) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id KAA28934; Thu, 17 Nov 2005 10:40:45 +0100 (CET) (envelope-from guru@Sisis.de) From: guru@Sisis.de Received: from hermes.sisis.de(193.31.10.38) by hunter.Sisis.de via smap (V2.1) id xma028930; Thu, 17 Nov 05 10:40:42 +0100 Received: from rebelion.Sisis.de (rebelion.Sisis.de [193.31.10.34]) by hermes.sisis.de (8.8.8/8.8.8) with ESMTP id KAA22699; Thu, 17 Nov 2005 10:42:19 +0100 (CET) (envelope-from guru@Sisis.de) Received: (from guru@localhost) by rebelion.Sisis.de (8.13.3/8.13.3/Submit) id jAH9gB8b005526; Thu, 17 Nov 2005 10:42:11 +0100 (CET) (envelope-from guru@Sisis.de) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to guru@Sisis.de using -f Date: Thu, 17 Nov 2005 10:42:11 +0100 To: Ivailo Tanusheff Message-ID: <20051117094211.GA5443@rebelion.Sisis.de> References: <200511161611.06437.db@traceroute.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE (i386) Cc: db , questions@freebsd.org Subject: Re: Monitoring a program X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: guru@Sisis.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 09:42:16 -0000 El día Thursday, November 17, 2005 a las 11:32:31AM +0200, Ivailo Tanusheff escribió: > You can take a snapshot of files being used by lsof: > Port: lsof-4.76.1.1 > Path: /usr/ports/sysutils/lsof > Info: Lists information about open files (similar to fstat(1)) > Maint: obrien@FreeBSD.org > B-deps: > R-deps: > WWW: http://people.freebsd.org/~abe/ > > Hope this will help you :) with 'lsof' you can see the actual situation; with 'truss' you may investigate in detail all sys calls (like opening files) matthias -- Matthias Apitz / Sisis Informationssysteme GmbH Gruenwalder Weg 28g / D-82041 Oberhaching Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211 http://www.sisis.de/~guru/