coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Wednesday July 30, 2014


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 35 guests online

Newest Member

nbewwmbxog

Hit Counter
13750198 Visitors

cool Statistics
coolcommands:1345
Categories:83
Total queries:638132
Members:22813





Search coolcommands.com
Search Keyword:


coolcommand

iptrace, ipreport - capture TCP/IP information in IBM AIX
Description

Here is a command to capture TCP/IP packet information between your server and another in IBM AIX:

Become root user

Find a temporary directory to capture the data (/tmp in this example)

Run the iptrace command:

# iptrace -a -d host_destination -b /tmp/ip.out

iptrace will run in the background and results will be in /tmp/ip.out

To see the results of the trace:

# ipreport /tmp/ip.out | more

Don't foregt to kill iptrace when you're done:

# ps -ef | grep iptrace | grep -v grep | awk '{system("kill " $2)}'

Some other cool options of iptrace:

-d : specify destination IP address
-s : specify origin IP address
-b : show 2-way traffic (as in "-s xxx -b" or "-d xxx -b")
-a : no ARP requests (less pollution in the trace)

To see all packets going in and out of server, unixserv, without ARP requests:

# iptrace -a -d unixserv -b /tmp/ip.out

iptrace and ipreport are in IBM AIX LPP "bos.net.tcp.server"
Example

iptrace -a -d hostname -b /tmp/ip.out

Return to search results

Random coolcommands

coolcommand: procstop - how to stop a process in IBM AIX 5L
Example: procstop 233628
[show me the details]
coolcommand: how to create a named pipe
Example: mknod file.dmp p; exp file.dmp &; cat file.dmp | compress -c - > exp file.dmp.Z; rm file.dmp
[show me the details]
coolcommand: metahs - how to enable a previously unavailable hotspare in Solaris Volume Manager
Example: metahs -e c1t1d0s4
[show me the details]
coolcommand: dfmounts - how to show reources shared through NFS
Example: dfmounts -F nfs 172.28.25.22
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1166
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category Solaris53106
Category General UNIX52694
Category AIX51658
solaris23799
aix23176

Terms of Use
Privacy
Contact


 
coolcommands.com © 2014. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum