Analyzer php-gco-stat
Name
php-gco-stat - Statistics for PHP GC Objects
This analyzer collects statistics on PHP garbage collector objects in running PHP processes. It captures detailed information about object types, counts, and memory usage within the PHP runtime’s garbage collection system. The analyzer generates pie charts that visualize the distribution of different object types in memory, helping identify memory consumption patterns and potential memory leaks in PHP applications.
Resource Category
Memory.
Application Type & Technical Stack
- PHP
Command Line Syntax
The analyzer can be invoked directly on the command-line via the orxray
utility from the openresty-xray-cli software package.
Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).
# PID is the target process PID.
orxray analyzer run php-gco-stat -p PID
# trace a shell command directly
orxray analyzer run php-gco-stat -c SHELL_CMD
Tracing Multiple Processes
Not supported.
Output Formats
- Pie Charts
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.