Signed-off-by: Jos Collin <jcollin@redhat.com>
$ cephfs-top --cluster <cluster>
-`cephfs-top` refreshes stats every second by default. To chose a different refresh interval use::
+`cephfs-top` refreshes stats every second by default. To choose a different refresh interval use::
$ cephfs-top -d <seconds>
-Interval should be greater or equal to 0.5 second. Fractional seconds are honoured.
+Interval should be greater than or equal to 0.5 seconds. Fractional seconds are honoured.
Sample screenshot running `cephfs-top` with 2 clients:
def float_greater_than(x):
value = float(x)
if value < MIN_REFRESH_INTERVAL:
- raise argparse.ArgumentTypeError(f'{value} should be greater than '
- f'{MIN_REFRESH_INTERVAL}')
+ raise argparse.ArgumentTypeError(
+ f'Refresh interval should be greater than or equal to {MIN_REFRESH_INTERVAL}')
return value
parser = argparse.ArgumentParser(description='Ceph Filesystem top utility')