Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/stats_collection.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Stats Collection Tool
=====================

Command-line Tool
-----------------
``ais-stats`` can be run two ways:
* ``$ ais-stats -p <PID> [-i]`` will collect stats from a running process.
``-i`` will report immediately rather than wait for the process to exit.
* ``$ ais-stats <program> [args...]`` will launch ``<program>`` with the
provided arguments and report the collected stats when it exits.

Configuration
-------------
Collection is controlled by the environment variable ``HIPFILE_STATS_LEVEL``.

===== =================================================
Value Description
===== =================================================
0 Disabled
1 Basic
2 Detailed (same as basic; reserved for future use)
===== =================================================

Stats Collected
---------------
* Basic: Bytes read/written on the fastpath backend
* Basic: Bytes read/written on the fallback backend
Comment thread
zbyrne marked this conversation as resolved.
Loading