News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Johannes Schluter's Blog:
DTraceing around
October 13, 2008 @ 11:14:35

After singing the praises of DTrace for a while now, Johannes Schluter decided to show it off in a different way - introducing a collegue to it:

Yesterday, during a break at the Barcamp Munich, I gave Wolfram a short introduction on his Mac and decided to put some stuff here [in this post]. DTrace is a toolkit available on Solaris (Solaris 10 or OpenSolaris), recent MacOS versions and FreeBSD for mightier than tools like truss or strace but with way less impact. DTrace allows you to "hook" (called "probes") into the system and allows to do some analysis then.

He shows how to set up some of these "hooks" using D-script to wrap around a simple PHP script call. He alters the results to show things like the memory function its in, how much of the memory its using and a fun little script that "graphs" out the memory usage with "@" symbols.

0 comments voice your opinion now!
dtrace tutorial example emailloc memory allocate


blog comments powered by Disqus

Similar Posts

SocialDevelopers.net: Facebook and the Zend Framework - Part 1: Iframe Authentication

SitePoint PHP Blog: Discover Graph Databases with Neo4j and PHP

NETTUTS.com: CodeIgniter from Scratch: Shopping Cart

Chris Risner: Mobile Geolocation Apps with Windows Azure Websites Part 1: The PHP Code

Stefan Mischook's Blog: Object Oriented PHP Tutorial Updated


Community Events

Don't see your event here?
Let us know!


performance podcast framework configure api part2 interview opinion php7 laravel introduction composer community application release symfony2 series conference voicesoftheelephpant example

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework