Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* processes & inet domain sockets
@ 2001-04-27 13:56 kgv
  2001-05-04 15:27 ` Anders Grund
  0 siblings, 1 reply; 2+ messages in thread
From: kgv @ 2001-04-27 13:56 UTC (permalink / raw)


Hi!

1) How can I find out pid of the process bound
to some TCP/UDP port on my box under Digital UNIX 4.0D?
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?

Thanks.
Gennady Kuznetsov.



 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: processes & inet domain sockets
  2001-04-27 13:56 processes & inet domain sockets kgv
@ 2001-05-04 15:27 ` Anders Grund
  0 siblings, 0 replies; 2+ messages in thread
From: Anders Grund @ 2001-05-04 15:27 UTC (permalink / raw)


"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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-04 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27 13:56 processes & inet domain sockets kgv
2001-05-04 15:27 ` Anders Grund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox