Get User Rate Limit
-------------------
-The ``radosgw-admin ratelimit get`` command returns the current configured rate
-limit parameters.
+The ``radosgw-admin ratelimit get`` command returns the currently configured
+rate limit parameters.
The following is the general form of the command that returns the current
configured limit parameters:
Get Bucket Rate Limit
---------------------
-Get the current configured rate limit parameters
-For example::
+The ``radosgw-admin ratelimit get`` command returns the current configured rate
+limit parameters.
+
+The following is the general form of the command that returns the current
+configured limit parameters:
+
+.. prompt:: bash
- radosgw-admin ratelimit set --ratelimit-scope=bucket --bucket=<bucket>
+ radosgw-admin ratelimit get --ratelimit-scope=bucket --bucket=<bucket>
-For example::
+An example of using ``radosgw-admin ratelimit get`` to return the rate limit
+parameters for a bucket might look like this:
- radosgw-admin ratelimit get --ratelimit-scope=bucket --bucket=mybucket
+.. prompt:: bash
+ radosgw-admin ratelimit get --ratelimit-scope=bucket --bucket=mybucket
-A 0 value for num ops and / or num bytes means that the
-specific rate limit attribute check is disabled.
+A value of ``0`` assigned to ``--max-read-ops``, ``--max-read-bytes``,
+``--max-write-ops``, or ``--max-write-bytes`` disables the specified rate
+limit.
Enable/Disable Bucket Rate Limit