distrax.utils.ceph.get_current_pg#

distrax.utils.ceph.get_current_pg()[source]#

Get the current pg count of the cluster.

Return type:

int

Returns:

The current PGs in the cluster

Examples

>>> import distrax.utils.ceph as ceph
>>> ceph.get_current_pg()
1