From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,5da0ffbef4429abb X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-04 08:27:01 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!newsfeed1.telenordia.se!algonet!uab.ericsson.se!not-for-mail Message-ID: <3AF2CA44.A137CCF3@uab.ericsson.se> From: Anders Grund Organization: Ericsson Utvecklings AB X-Mailer: Mozilla 4.76C-CCK-MCD [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: sv, en-US MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: processes & inet domain sockets References: <9cbtpr$qha$1@news.netmar.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 04 May 2001 17:27:00 +0200 NNTP-Posting-Host: 134.138.226.227 X-Complaints-To: newsmaster@uab.ericsson.se X-Trace: uab.ericsson.se 988990020 134.138.226.227 (Fri, 04 May 2001 17:27:00 MET DST) NNTP-Posting-Date: Fri, 04 May 2001 17:27:00 MET DST Xref: newsfeed.google.com comp.unix.tru64:2170 "kgv"@nospam@aris.ryazan.ru wrote: > > > 1) How can I find out pid of the process bound > to some TCP/UDP port on my box under Digital UNIX 4.0D? With lsof. ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof.tar.gz > 2) How can I terminate connection on some TCP port? > Can I do this without terminating corresponding process? > 3) Can I determine egid (effective gid) of a process > without using call to /proc file system? Can I use > ps for this purpose? > /Anders