]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/histogram_dump: improve io-latency and -size statistics 35423/head
authorMarc Schoechlin <ms@256bit.org>
Sat, 25 May 2019 11:05:16 +0000 (13:05 +0200)
committerMarc Schoechlin <marc.schoechlin@vico-research.com>
Tue, 9 Jun 2020 12:05:39 +0000 (14:05 +0200)
commit003ffe169f73e5c6c85d35100d6eec4ad5a9c513
tree1bc58dd05f7c6336f4e22f2fa80bcf50e6db6f09
parent64aa8e7b87570ce10806a61e45a867a5db77130c
tools/histogram_dump: improve io-latency and -size statistics

The script is part of the ceph distribution but not
part of the official tooling. Nevertheless it was useful to understand
the usage scenarios of my osds.

- add colors to the output to ease interpretation
- add possibility to specify one ore more sockets
- aggregate statistics over multiple sockets
- prevent stacktrace if tool is interrupted by SIGINT
- add possibility to specify the number of data collection
  seconds between loops
- raise loop_seconds default

Signed-off-by: Marc Schoechlin <ms-github@256bit.org>
src/tools/histogram_dump.py