Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 10:42:11 +0100
From:      guru@Sisis.de
To:        Ivailo Tanusheff <i.tanusheff@procreditbank.bg>
Cc:        db <db@traceroute.dk>, questions@freebsd.org
Subject:   Re: Monitoring a program
Message-ID:  <20051117094211.GA5443@rebelion.Sisis.de>
In-Reply-To: <OF2527A793.0C60DE4D-ONC22570BC.002E5ED0-C22570BC.00346B2D@procreditbank.bg>
References:  <200511161611.06437.db@traceroute.dk> <OF2527A793.0C60DE4D-ONC22570BC.002E5ED0-C22570BC.00346B2D@procreditbank.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051117094211.GA5443>