The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
A utility for sending complex email messages from the command line iBot UNIX and Linux RSS News 0 06-06-2008 01:50 AM
top command line utility antoniomorandi High Level Programming 6 11-20-2007 04:38 PM
read/write socket error gio High Level Programming 2 04-16-2007 08:52 PM
client socket read returns 0 bytes axes High Level Programming 1 11-22-2006 04:04 AM
How to read from a file line by line and do stuff spaceship Shell Programming and Scripting 4 03-17-2005 05:47 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Mar 2006
Posts: 45
command line socket read utility

HI

I have a messaging s/w daemon(TIBCO rvrd) provided by vendor which will accept connections from various clients and routes messages to the destinations. In order to route it internally uses two ports(one tcp adn one udp).

I want to know on which port(tcp/udp) it is transmitting the actual message.

Is there any command line utility to listen on a given port.

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-08-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,464
What version of UNIX?
Reply With Quote
  #3 (permalink)  
Old 08-08-2006
Registered User
 

Join Date: Mar 2006
Posts: 45
sun os 5.8

Jim
I am using solaris 8
Reply With Quote
  #4 (permalink)  
Old 11-20-2007
Registered User
 

Join Date: Nov 2007
Posts: 1
You can try

pfiles PID |grep port

You will see the open port/s being used by the messaging daemon.

Cheers,
Zia-ul-Hassan
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0