System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

method to check packets send to a particular IP address and port

 
SOLVED
Go to solution
jerish sunny
Occasional Advisor

method to check packets send to a particular IP address and port

Hi all,

I would like to know the method used to know the data send from my system to a particular ip address.
Is it possible to do so, if yes which would be the command.

i am using HP-UX B.11.23 U ia64 machine.

thanks in advance.
4 REPLIES
Turgay Cavdar
Honored Contributor

Re: method to check packets send to a particular IP address and port

Do you want to capture the packets? You can use tcpdump for these, you can dowload it from software.hp.com.
If you want to check the connection only you can use netstat or lsof.
jerish sunny
Occasional Advisor

Re: method to check packets send to a particular IP address and port

i can't install anything on the server. But have nettl installed. Will that help
Turgay Cavdar
Honored Contributor
Solution

Re: method to check packets send to a particular IP address and port

Yes you can use nettl also.
start trace with the options you want:
nettl -tn pduin pduout -e iether -f /tmp/net.raw

stop trace:
nettl -tf -e all

Analyze the /tmp/net.raw.TRC* file with netfmt or wireshark utilities.
Laurent Menase
Honored Contributor

Re: method to check packets send to a particular IP address and port