Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!remus.rutgers.edu!romulus.rutgers.edu!rauscher From: rauscher@romulus.rutgers.edu (Rich Rauscher) Newsgroups: comp.protocols.tcp-ip Subject: SUMMARY: Re: active tcp ports and process id's Message-ID: Date: 1 May 91 16:05:03 GMT References: Organization: Rutgers Univ., New Brunswick, N.J. Lines: 44 Thanks to following people who replied to my message: >Is there any way to find out what active tcp ports >are associated with which process id's? I'm on a Sun 4/110 >running the latest release of SunOS. us267388@web.mmc.mmmg.com (Bradley D. Rhoades) shj@ultra.com (Steve Jay) smb@ulysses.att.com The gist of what they said was that Gary Nebbett (grn@stl.stc.co.uk) had written a program called ofiles which produces exactly the results I was seeking. 'ofiles` was already installed at Rutgers and is available at many ftp sites. Here's a sample output: 15 tubes:/ug/u2/rauscher >ofiles tcp. user process command type port(s) root 117 inetd s 21 23 514 513 512 79 13 37 ingres 275 iigcn s 1036 root 42 portmap s 111 root 45 ypbind s 1029 root 81 rpc.lockd s 684 689 696 699 root 80 rpc.statd s 683 rauscher 1626 tcsh s 514 514 514 rauscher 1592 rsh s 1015 1014 rauscher 1575 Xsun s 6000 6000 6000 6000 6000 6000 6000 ingres 331 iigcc s 18584 1043 rauscher 1657 xterm s 514 rauscher 1658 telnet s 1139 rauscher 1596 rsh s 1019 1018 root 1624 in.rshd s 1021 rauscher 1594 rsh s 1017 1016 rauscher 1623 rsh s 1023 1022 rauscher 1631 twm s 514 514 Thanks again.. -Rich -- ------------- rauscher@rutgers.edu RPO 5997 PO 5063, New Brunswick, NJ 08903 rauscher@PISCES Shakespeare learns Discrete Math: {backbone site}!rutgers!rauscher (2B | not (2B)) <=> TRUE