From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Duffy, Thomas J." Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: UDP Port Utilization Date: Thu, 26 Jan 2006 10:57:00 -0500 Message-ID: <3F16FF786F31154EB6171035DFB0FC85068A5A1E@xcgmd062.md.essd.northgrum.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1138291089 28765 80.91.229.2 (26 Jan 2006 15:58:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2006 15:58:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jan 26 16:57:59 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1F29VT-0001DH-RW for gotm-tru64-unix-managers@gmane.org; Thu, 26 Jan 2006 16:57:56 +0100 Original-Received: (qmail 24830 invoked by uid 49509); 26 Jan 2006 15:57:39 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 24821 invoked from network); 26 Jan 2006 15:57:38 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 26 Jan 2006 15:57:38 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITP00A96J02TM@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 26 Jan 2006 10:57:38 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0ITP00B02IZQV5@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 26 Jan 2006 10:57:38 -0500 (EST) Original-Received: from xcgmd812.northgrum.com (xcgmd812.northgrum.com [155.104.240.108]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0ITP00B36IZPRC@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Thu, 26 Jan 2006 10:57:26 -0500 (EST) Original-Received: from xbhm0001.northgrum.com ([155.104.118.90]) by xcgmd812.northgrum.com with InterScan Messaging Security Suite; Thu, 26 Jan 2006 07:59:45 -0800 Original-Received: from xcgmd000.northgrum.com ([155.104.117.50]) by xbhm0001.northgrum.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.211); Thu, 26 Jan 2006 10:57:00 -0500 Original-Received: from xcgmd062.northgrum.com ([155.104.118.174]) by xcgmd000.northgrum.com over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Thu, 26 Jan 2006 10:57:00 -0500 Original-To: Tru64-UNIX-Managers@ornl.gov X-Envelope-from: thomas.duffy@ngc.com X-MIMEOLE: Produced By Microsoft Exchange V6.0.6603.0 Thread-Topic: SUMMARY: UDP Port Utilization Thread-Index: AcYikSTu1Eq+JfbfSTyp9qeTGiRMJA== Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on email.cind.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.1.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 26 Jan 2006 15:57:00.0642 (UTC) FILETIME=[249BA420:01C62291] Xref: news.gmane.org gmane.os.tru64.managers:8754 Archived-At: Fellow Tru64 Managers, Many thanks to the folks that assisted me with this issue. The consensus solution was to utilize the lsof utility which can be downloaded from: http://www.tru64.org/dl/lsof.tar.Z to determine what processes are consuming ports. You need to gunzip and untar the file and then build it for your target system. I used the ./Configure tru64 command followed by make and it worked fine on my system. Originally I had an compiling issues because I tried to build lsof on a version 5.1 system instead of 5.1A/5.1B, but things went smoothly when I switched to the appropriate OS. =20 It was also suggested that I utilize the rpcinfo -p command which would work if the program registered for an RPC. However, that was not so in my case.=20 Below is my original request for context: -----------------------------------------=20 We have an application running on a Compaq ES40/ES45 with a Tru64 5.1B OS that listens on udp port 3000 and have found that there is a range of udp ports that some application is listening on that sometimes collides with our desired port. The range of consecutive ports varies as we go from one system to another so the collision occurs on only one of our systems. The theory is that some application is reserving a range of ports, but the range is not consistent from one system to another. =20 By issuing a netstat -na command, we typically see a range of udp port numbers consumed along with various individual udp ports. Unfortunately for us, the range of ports on one of our systems encompasses our port 3000. Is there any way we can find out what application(s) is listening on the range of ports? Taking 3 systems for example, we see that ports 4851-4864 are taken on one system, 3851-3864 on another 1378-1405 on yet another. =20 All answers much appreciated. Tom Duffy Ph: 410-788-0226 thomas.duffy@ngc.com