From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <14ec7b180706190917j3d1f2edbt68ef2c8d5df9f8cc@mail.gmail.com> Date: Tue, 19 Jun 2007 10:17:17 -0600 From: "andrey mirtchovski" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] equivalent of fstat | grep $portnumber ? In-Reply-To: <20070619161347.GA67517@kris.home> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070619152735.GB6960@pestilenz.org> <20070619161347.GA67517@kris.home> Topicbox-Message-UUID: 819d3102-ead2-11e9-9d60-3106f5b1d025 i just found a small program i had forgotten about that mimics unix' lsof. it's in /contrib/andrey/cmd/lsof.c you can do lsof | grep 'tcp/25' to get the pid of the program.