Operating System - HP-UX
1823084 Members
3308 Online
109646 Solutions
New Discussion юеВ

Re: Showing network connections

 
Ferdie Castro
Advisor

Showing network connections

Hi I am having problems showing network connections of users connecting to my server and what port are they using. Apparently these are corba applications and I have Orbix IONA application in my server as well. Is there a command that shows details of connections in my Orbix application server using HP-UX 11.0. Appreciate your feedback guys. thanks.

8 REPLIES 8
Michael Tully
Honored Contributor

Re: Showing network connections

Hi,

Start with

$ netstat -a
Anyone for a Mutiny ?
Ferdie Castro
Advisor

Re: Showing network connections

Thanks I saw the results but would it be possible to see what these sessions are doing?
Steven E. Protter
Exalted Contributor

Re: Showing network connections

To identify what the session is doing you'll need to assoicate the netstat output with a process id.

Then you can use tusc to see more detail than you ever imagined.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.5/

If you only more network information, you might try netstat -an

A lot can be learned from just netstat -a

Certain ports are used for certain activities as shown in /etc/services.

What kind of activity are you trying to trace?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Tully
Honored Contributor

Re: Showing network connections

To get some further information, you could look at using 'lsof'. You could also go to the extremes of doing some network tracing. See this posting, which has some useful tips.
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x5e39c4c76f92d611abdb0090277a778c%2C00.html&admit=716493758+1068432029203+28353475
Anyone for a Mutiny ?
Ferdie Castro
Advisor

Re: Showing network connections

Hi, thanks for feedback. I'm trying to trace corba client servers and what they are executing.
Michael Steele_2
Honored Contributor

Re: Showing network connections

If you want to see what they're doing then you need a sniffer like etheral or tcpdump. Here's tcpdump:

Download

http://hpux.cict.fr/hppd/hpux/Networking/Admin/tcpdump-3.6.2/

Man page

http://hpux.cict.fr/hppd/hpux/Networking/Admin/tcpdump-3.6.2/man.html
Support Fatherhood - Stop Family Law
Suresh Patoria
Super Advisor

Re: Showing network connections

Hi ,

try the following command may be help u

#netstat -a | grep -i orbix

Thanx
T G Manikandan
Honored Contributor

Re: Showing network connections

you can use nettl to trace.

Attached is the procedure doc