diff options
author | gnn <gnn@FreeBSD.org> | 2012-05-12 21:25:48 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2012-05-12 21:25:48 +0000 |
commit | 2325662608ef525d2b16f218c7f92205ae571d5c (patch) | |
tree | 349c87edcb2d1f2a1040b9630b1fddf85a3484a0 /cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m | |
parent | 0778d9c814eb131045e6c28e219184601f3c9e19 (diff) | |
parent | 4297c1b2d07fec7f50b70e26e3adb4d062b19e15 (diff) | |
download | FreeBSD-src-2325662608ef525d2b16f218c7f92205ae571d5c.zip FreeBSD-src-2325662608ef525d2b16f218c7f92205ae571d5c.tar.gz |
Import dtracetoolkit into cddl/contrib
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m')
-rw-r--r-- | cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m b/cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m new file mode 100644 index 0000000..a11944d --- /dev/null +++ b/cddl/contrib/dtracetoolkit/Man/man1m/php_malloc.d.1m @@ -0,0 +1,39 @@ +.TH php_malloc.d 1m "$Date:: 2007-10-03 #$" "USER COMMANDS" +.SH NAME +php_malloc.d - PHP libc malloc analysis. +.SH SYNOPSIS +.B php_malloc.d +{ \-p PID | \-c cmd } +.SH DESCRIPTION +This is an expiremental script to identify who is calling malloc() for +memory allocation, and to print distribution plots of the requested bytes. +If a malloc() occured while in a PHP function, then that function is +identified as responsible; else the caller of malloc() is identified as +responsible - which will be a function from the PHP engine. + +Filename and function names are printed if available. +.SH OS +Any +.SH STABILITY +Evolving - uses the DTrace Php provider, which may change +as additional features are introduced. Check Php/Readme +to see what version these scripts are based on. +.SH EXAMPLES +.TP +Default output, +# +.B php_malloc.d +.PP +.PP +.SH DOCUMENTATION +See the DTraceToolkit for further documentation under the +Examples, Notes and Docs directories. The example files may be +especially useful as they aim to demonstrate how to interpret +the output. +.SH EXIT +php_malloc.d will run until Ctrl-C is hit. +.SH AUTHOR +Brendan Gregg +[CA, USA] +.SH SEE ALSO +dtrace(1M) |