summaryrefslogtreecommitdiffstats
path: root/doc/mgr/iostat.rst
blob: f9f8493831bca5ec5673848d59253286d40e1f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.. _mgr-iostat-overview:

iostat
======

This module shows the current throughput and IOPS done on the Ceph cluster.

Enabling
--------

To check if the *iostat* module is enabled, run::

  ceph mgr module ls

The module can be enabled with::

  ceph mgr module enable iostat

To execute the module, run::

  ceph iostat

To change the frequency at which the statistics are printed, use the ``-p``
option::

  ceph iostat -p <period in seconds>

For example, use the following command to print the statistics every 5 seconds::

  ceph iostat -p 5

To stop the module, press Ctrl-C.