Date: Fri, 18 Nov 2005 11:00:41 +0100 From: guru@Sisis.de To: db <db@traceroute.dk> Cc: questions@freebsd.org Subject: Re: Monitoring a program Message-ID: <20051118100041.GA8932@rebelion.Sisis.de> In-Reply-To: <200511171812.23131.db@traceroute.dk> References: <200511161611.06437.db@traceroute.dk> <OF2527A793.0C60DE4D-ONC22570BC.002E5ED0-C22570BC.00346B2D@procreditbank.bg> <20051117094211.GA5443@rebelion.Sisis.de> <200511171812.23131.db@traceroute.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Thursday, November 17, 2005 a las 06:12:22PM +0000, db escribió: > On Thursday 17 November 2005 09:42, guru@sisis.de wrote: > > with 'lsof' you can see the actual situation; with 'truss' you > > may investigate in detail all sys calls (like opening files) > > Thanks, I also found /devel/strace which looks good :-) Yes, I know strace for a long of time from Linux and was always happy about it because it has better features than truss of SVR4 and FreeBSD; I did not know that it was ported to FreeBSD as well; now I've installed it on my 5.4-REL and there is a small bug which is fixed already, see: http://www.freebsd.org/cgi/query-pr.cgi?pr=62377 without that small patch strace hangs if you fire it up with the command on the commandline like: $ strace date 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051118100041.GA8932>