From owner-freebsd-questions Sun Jul 11 21:31: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from admin.cdotb.ernet.in (admin.cdotb.ernet.in [202.41.72.2]) by hub.freebsd.org (Postfix) with SMTP id 933F914FAD for ; Sun, 11 Jul 1999 21:27:20 -0700 (PDT) (envelope-from amit@cdotb.ernet.in) Received: from ws9.cdotb.ernet.in by admin.cdotb.ernet.in (SMI-8.6/SMI-SVR4) id JAA12276; Mon, 12 Jul 1999 09:56:04 -0500 Received: from localhost by ws9.cdotb.ernet.in (5.65v4.0/1.1.19.2/15Dec98-0204PM) id AA26875; Mon, 12 Jul 1999 09:56:41 +0500 Date: Mon, 12 Jul 1999 09:56:41 +0500 (GMT+0500) From: "Amit Kr.Jain" To: Ilia Chipitsine Cc: questions@FreeBSD.ORG Subject: Re: network stuff In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi!! Use netstat -a|grep portno. 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