I am sorry for incomplete information.
Here are the details.
OS-AIX 6.1
User:root
tcpdump on AIX
1. tcpdump Command:
tcpdump -I -i en? host YOUR_PRINTER_DNS_NAME_OR_IP
2. Result:
tcpdump: BIOCSETIF: en0: Do not specify an existing file.
1. iptrace command:
/usr/sbin/iptrace -a -i en0 iptrace.out &
2. Give print to printer:
lp -d queue_name file_name
3. view the process:
ps -ef | grep iptrace
4. Kill the process:
kill -1 process_id
5. Report:
ipreport -r -s iptrace.out >/ipreport.network
6. view ipreport.network:
more ipreport.network
I could see network packets (TCP) captured in ipreport.network.
Reference:
Optimizing AIX 5L performance: Tuning network performance, Part 3
As explained in
The Wireshark Network Analyzer 1.1.2, Wireshark can read / import the following file formats:
AIX's iptrace captures
I have configure Wireshark in Windows. I copied ipreport.network to windows pc and then tried to open it using wireshark. I got the error message "The file format is not supported".
Will ethereal compile in AIX 6.1 also..
Please let me know if more information is required.