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
You can also try the "dtrace toolkit" it has scripts for lots of monitoring purposes to give you a kick start.
Also you can attach X-Code's "Instruments" to any process. After this gives you a general idea of your app you can give a try to write your own scripts