From owner-freebsd-questions Tue Jul 13 1:43:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id 20B4414CA1 for ; Tue, 13 Jul 1999 01:43:39 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id LAA01796; Tue, 13 Jul 1999 11:43:05 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <378AFC16.A5FDF994@prime.net.ua> Date: Tue, 13 Jul 1999 11:43:03 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: Tani Hosokawa Cc: questions@FreeBSD.ORG Subject: Re: network stuff References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Me not. May be original poster :) Tani Hosokawa wrote: > I think what you want is fuser... it's on FreeBSD, isn't it? > > On Tue, 13 Jul 1999, Andy V. Oleynik wrote: > > > Ilia Chipitsine wrote: > > > > > On Mon, 12 Jul 1999, Amit Kr.Jain wrote: > > > > > > > Hi!! > > > > Use netstat -a|grep portno. > > > > > > maybe, netstat -an ? > > > > > > > Why not if portno="smtp" for example. But I really dont understand > > what is the role of netstat here - netstat doesnt show pids > > tcp 0 0 *.ssh *.* LISTEN > > :P > > > > > > to find out the process listening on a particular port > > > > and then > > > > ps -ef|grep process > > > > to look for the info for that process > > > > > > > > ******************************************************************************* > > > > > > > > WORK HOME > > > > ------ ------ > > > > > > > > Amit Kr Jain, Flat No 7/2 > > > > (Research Engineer), 7th cross > > > > C-DOT, KHM Block > > > > 2nd floor, Sneha Complex, Opp Shanti Sagar. > > > > 71/1 Miller Road, R.T.Nagar > > > > BANGALORE - 560052 BANGALORE. > > > > > > > > Voice - 080-2263399 ext 247/329 > > > > 080-2261529 > > > > email: amit@cdotb.ernet.in > > > > ******************************************************************************* > > > > > > > > On Sat, 10 Jul 1999, Ilia Chipitsine wrote: > > > > > > > > > Dear All, > > > > > > > > > > how can I get PID of the process that > > > > > listens on particular port (TCP/UDP) ? > > > > > > > > > > Regards, (nAILU^[IE POVELANIQ) > > > > > > > > > > Ilia Chipitsine (iLXQ {IPICIN) > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > > WBW Andy V. Oleynik (When U work in virtual office > > prime.net.ua's U have good chance to obtain > > system administrator virtual money ö%-) > > +380442448363 > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > --- > tani hosokawa > river styx internet -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message