Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 10:46:13 -0400
From:      Ben Eisenbraun <bene@klatsch.org>
To:        green <green@prokk.net>
Cc:        freebsd-security@freebsd.org
Subject:   Re: how ?
Message-ID:  <20010922104612.M35485@klatsch.org>
In-Reply-To: <13428770066.20010922173014@prokk.net>; from green@prokk.net on Sat, Sep 22, 2001 at 05:30:14PM %2B0300
References:  <13428770066.20010922173014@prokk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 22, 2001 at 05:30:14PM +0300, green wrote:
> hi !
> 
> what command i can use, to see what files are opened by certain
> process, and what ports are opened by certain file ?

lsof, which is in the ports at sysutils/lsof and sockstat, which 
is in the base system at /usr/bin/sockstat both work well for this.

-b

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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