Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iptrace usage

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

On AIX 4.3.3,trying to trace all network traffic on the host I run:

iptrace iptrace.out

Then I do severall nfs copies to the host.
The manual instructs to then find the iptrace using ps and kill it.
The log file i get does not have anything inside.
I have also played with "startsrc -s iptrace -a "logfile"",no results.

ANy ideas how to get something inside this log ?

"Long live king Moshiach !"
 
This normally happens when the route is out a second adapter. If this happens the filesize will be '11' bytes. Then use the -I en1 flag or whatever adapter you think the traffic may be on. Try 'netstat -i 5' to look for traffic pattern. You can also restrict to a certain host or port.

iptrace -I en1 -a -b -s <host1> -d <host2> log.trc
Then do work and kill
ipreport -n log.trc > log.out

If you don't need to see the files, but want to just look at packet sizes then use 'tcpdump' You get less in the file.
 
HI,

I'm doing exactly the above on AIX 4.3.3 with ML10.
Then running rcp+NFS copies,still get log file of 11 bytes,after killing the iptrace.
What can be the problem ?

-rw-r--r-- 1 root system 11 Aug 10 14:11 log.trc

&quot;Long live king Moshiach !&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top