mirror of
https://github.com/minio/docs.git
synced 2025-09-10 20:12:12 +03:00
Closes #529 Release RELEASE.2022-08-11T04-37-28Z optimized when site healing requeues. Updated bucket replication and site replication docs to reflect this change.
88 lines
1.8 KiB
ReStructuredText
88 lines
1.8 KiB
ReStructuredText
========================
|
|
``mc support top locks``
|
|
========================
|
|
|
|
.. default-domain:: minio
|
|
|
|
.. contents:: Table of Contents
|
|
:local:
|
|
:depth: 2
|
|
|
|
.. mc:: mc support top locks
|
|
|
|
Syntax
|
|
------
|
|
|
|
.. start-mc-support-top-locks-desc
|
|
|
|
The :mc:`mc support top locks` command lists the ten oldest locks on a MinIO deployment.
|
|
|
|
.. end-mc-support-top-locks-desc
|
|
|
|
.. tab-set::
|
|
|
|
.. tab-item:: EXAMPLE
|
|
|
|
The following command displays the current in-progress S3 API calls on the :term:`alias` ``myminio``.
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc support top locks myminio/
|
|
|
|
.. tab-item:: SYNTAX
|
|
|
|
The command has the following syntax:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc [GLOBALFLAGS] support top locks \
|
|
[--stale] \
|
|
TARGET
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-syntax
|
|
:end-before: end-minio-syntax
|
|
|
|
Parameters
|
|
~~~~~~~~~~
|
|
|
|
.. mc-cmd:: TARGET
|
|
:required:
|
|
|
|
The full path to the :ref:`alias <minio-mc-alias>` or prefix where the command should run.
|
|
|
|
.. mc-cmd:: --stale
|
|
:optional:
|
|
|
|
Return only stale locks.
|
|
|
|
Global Flags
|
|
~~~~~~~~~~~~
|
|
|
|
.. include:: /includes/common-minio-mc.rst
|
|
:start-after: start-minio-mc-globals
|
|
:end-before: end-minio-mc-globals
|
|
|
|
Examples
|
|
--------
|
|
|
|
Display the 10 Oldest Locks on the ``myminio`` Deployment
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc support top locks myminio/
|
|
|
|
Display Stale Locks on the ``myminio`` Deployment
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
The following command displays all in-progress ``s3.PutObject`` calls for the ``myminio`` deployment:
|
|
|
|
.. code-block:: shell
|
|
:class: copyable
|
|
|
|
mc support top locks --stale myminio/
|