coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday July 2, 2015


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 21 guests online

Newest Member

nbewwmbxog

Hit Counter
16194711 Visitors

cool Statistics
coolcommands:1346
Categories:83
Total queries:649910
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: restart_npm_server - how to correct java server taking 100% cpu in IBM Infoprint Manager
Example: /usr/lpp/pd/bin/restart_npm_server
[show me the details]
coolcommand: clstat - monitors the status of an IBM HACMP cluster
Example: clstat -a
[show me the details]
coolcommand: AIX command that displays the cpu speed in Ghz of the physical server
Example: echo "`lsattr -El proc0 -a frequency -F value`/1000000"|bc
[show me the details]
coolcommand: metareplace - how to replace a disk of a raid5 volume in Solaris Volume Manager
Example: metareplace d0 c1t0d0s2 c4t1d0s2
[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

lvo1167
audet37
kah00na32
Mariom24
lebjf00015

Top 5 Searches

Category General UNIX55577
Category AIX53825
Category Solaris53719
solaris23830
aix23309

Terms of Use
Privacy
Contact


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