Monitoring a program

guru at Sisis.de guru at Sisis.de
Thu Nov 17 09:42:16 GMT 2005


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 at 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/


More information about the freebsd-questions mailing list