Date: Tue, 13 Jul 1999 00:20:20 -0700 (PDT) From: Tani Hosokawa <unknown@riverstyx.net> To: "Andy V. Oleynik" <andyo@prime.net.ua> Cc: questions@FreeBSD.ORG Subject: Re: network stuff Message-ID: <Pine.LNX.4.10.9907130020090.12109-100000@avarice.riverstyx.net> In-Reply-To: <378AE52D.943B9019@prime.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9907130020090.12109-100000>