Documentation > Userspace Clients > stats
Mode
stats
mode
Index
Description
Prints a bunch of counters tracked by the Jool instance.
They will give you an overview of the instance’s view on your traffic. In particular, if Jool seems to be dropping packets, the respective counter should tell you why. (As long as Jool is the one dropping them, not the kernel.)
More than anything, stats
is intended for short-term troubleshooting purposes. The counters, their IDs and their descriptions are not set in stone, and can differ across different Jool versions.
As of version 4.1.5, stats
is Jool’s only kernelside operation handler that does not require CAP_NET_ADMIN
privileges.
Syntax
(jool_siit | jool) stats (
display [--all] [--explain] [--csv] [--no-headers]
)
Arguments
Operations
display
: Print the counters in standard output.
Options
Flag | Description |
---|---|
--all |
Print all the counters known to Jool. (Not just the ones that aren’t zero.) |
--explain |
Also print an explanation of each counter. |
--csv |
Print the table in Comma/Character-Separated Values format. This is intended to be redirected into a .csv file. |
--no-headers |
Do not print table headers (when --csv is active). |
Examples
Time Series Data Options
prometheus jool-exporter
A python jool-exporter
binary exports data for prometheus collection.
The code is written as jool adds and removes stats they show up in the
exported data.
pip install jool-exporter
It is recommended to run jool-exporter via SystemD. Pull requests + enhancements welcome!
More Information:
Please Note: This tool is not maintained by the core Jool team.