Reference
show trace
Available since
- HAProxy 2.1
- HAProxy Enterprise 2.1r1
Display the state and monitored events for a trace.
Description Jump to heading
After configuring and starting a trace with the trace command, you can use show trace to see the state of the trace and the events it’s watching.
With no parameter, show trace returns a list of trace sources and their current state (stopped, waiting, or running). When no trace is running, each trace source shows a state of stopped:
nix
nix
outputtext
outputtext
When a trace is running, it will show an R for its state:
nix
nix
outputtext
outputtext
Pass the source name to the command to see which events are included in the running trace:
nix
nix
outputtext
outputtext
Examples Jump to heading
In the example below, we check whether a trace has been configured. It shows that the h1 trace is running and that it is sending its output to stdout:
nix
nix
outputtext
outputtext
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?