Skip to content

Internal statistics

alexbriskin edited this page Aug 7, 2023 · 1 revision

Use xlio_stats in order to see XLIO statistics in real-time. The executable should be installed as part of the OFED MLNX binary package in /usr/bin or a similar directory. if built from the source, the file should be in the bin directory located in your install directory.

XLIO Statistics Usage:

xlio_stats [-p pid] [-k directory] [-v view] [-d details] [-i interval]

Defaults:

find_pid=enabled, directory="/tmp/", view=1, details=1, interval=1

Options:

-p, --pid= Show statistics for XLIO process with pid: <pid>

-k, --directory=<directory> Set shared memory directory path to <directory>

-n, --name=<application> Show XLIO statistics for application: <application>

-f, --find_pid Find and show statistics for XLIO instance running (default)

-F, --forbid_clean By setting this flag inactive shared objects will not be removed

-i, --interval=<n> Print report every <n> seconds

-c, --cycles=<n> Do report print cycles and exit, use 0 value for infinite (default)

-v, --view=<1|2|3|4|5> Set view type:1- basic info,2- extra info,3- full info,4- mc groups,5- similar to 'netstat -tunaep'

-d, --details=<1|2> Set details mode:1- to see totals,2- to see deltas

-z, --zero Zero counters

-l, --log_level=<level> Set XLIO log level to <level>(one of: none/panic/error/warn/info/details/debug/fine/finer/all)

-S, --fd_dump=<fd> [<level>] Dump statistics for fd number <fd> using log level <level>. use 0 value for all open fds.

-D, --details_level=<level> Set XLIO logg details level to <level>(0 <= level <= 3)

-s, --sockets=<list|range> Log only sockets that match <list> or <range>, format: 4-16 or 1,9 (or combination)

-V, --version Print version

-h, --help Print this help message

Clone this wiki locally