Re: Pstack and snoop
Re: Pstack and snoop
- Subject: Re: Pstack and snoop
- From: Quinn <email@hidden>
- Date: Wed, 12 Mar 2003 09:55:04 +0000
Please don't cross post between lists. It makes things difficult if,
like me, you're only on one of the lists.
At 14:50 +0000 11/3/03, Mark Thomas wrote:
Tcpdump looks good, now I wonder how I see what traffic to a particular port
either of tcp or udp. The man pages are huge.
Well, that's the first time I've heard folks complaining that Mac OS
X has *too much* documentation (-:
There's a DTS Q&A that explains the basics of using tcpdump.
<
http://developer.apple.com/qa/qa2001/qa1176.html>
To filter packets while capturing, you can add expressions to the end
of the command line. For example, to get just TCP traffic to port
80, you'd use.
sudo tcpdump -i en0 -s 0 -w DumpFile.dmp tcp dst port 80
gdb is not great as for cannot see all thread stacks in one command,
You can get this information using "thread apply all bt".
also I want to tell a user to type this command to find out what's
happening on his machine.
Try the "sample" command line tool.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.