Pointers to learn how to use DTrace

前端 未结 6 1607
执笔经年
执笔经年 2021-01-30 12:02

When I asked for tools to profile Rails apps, someone pointed at DTrace. Since I work on MacOSX stations and deploy on OpenSolaris, it is a valid way to go. But I have little kn

6条回答
  •  死守一世寂寞
    2021-01-30 12:42

    I found that reading dtrace version of the usual admin monitoring tools of Mac OS X was a great help truss -> dtruss. There are at least a dozen different scripts that you can read. (Most begining by "d".)

    There also is /Developer/Applications/Instruments.app which is a graphical app which generates dtrace scripts.

    Also, Wikipedia's DTrace page has loads of links which should help.

提交回复
热议问题