Analyzer go-running-goroutines
Name
go-running-goroutines - dump the bts of the running goroutines
Resource Category
CPU.
Application Type & Technical Stack
- Go
Parameters
The following parameters (or global variables) can be overridden by the user when running the analyzer or tool:
max_samples
Type: int
Description: Max Samples
Default Value: 1000
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 go-running-goroutines -p PID
# trace a shell command directly
orxray analyzer run go-running-goroutines -c SHELL_CMD
Tracing Multiple Processes
Not supported.
Output Formats
- Flame Graphs
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.