• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pstack and snoop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pstack and snoop


  • Subject: Re: Pstack and snoop
  • From: Mark Thomas <email@hidden>
  • Date: Tue, 11 Mar 2003 14:50:32 +0000
  • Organization: Coderus Ltd

Looks good,

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.

but ktrace wouldn't run as I get :-

error: ktrace() system call not supported in the running kernel
re-compile kernel with 'options KTRACE'

As I want to do, is find out all the current call stacks for a task, which
might be hanging, and doing a pstack is very useful to find where the
process is.

gdb is not great as for cannot see all thread stacks in one command, also
I want to tell a user to type this command to find out what's happening on
his machine.

Mark.

> On Monday, Mar 10, 2003, at 18:09 America/New_York, Mark Thomas wrote:
>
>> Hi,
>> Does anyone know where I could get MacOS-X version of pstack and
>> snoop
>> ???, as I am trying to debug my network code ???.
>
> I am not aware of anything like Solaris's pstack for Darwin, but the
> system does come with tcpdump(1). Ethereal is also known to compile
> and both are usually preferred to snoop.
>
> You might want to look at ktrace/kdump which are similar to truss on
> Solaris. There's always gdb or printf(), the two most used debugging
> tools. :-)
>
> Good luck,
> Chris
_______________________________________________
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.

  • Follow-Ups:
    • Re: Pstack and snoop
      • From: Quinn <email@hidden>
  • Prev by Date: Pstack and snoop
  • Next by Date: Re: Api for .mac
  • Previous by thread: Pstack and snoop
  • Next by thread: Re: Pstack and snoop
  • Index(es):
    • Date
    • Thread