1
0
mirror of https://github.com/minio/docs.git synced 2025-07-02 05:02:40 +03:00
Files
docs/source/reference/minio-mc/mc-support-top-locks.rst
Daryl White abee6a35d6 Updates for two Oct 2023 mc releases (#1066)
Updates for October 2023 MinIO Client releases
    
- Adds output sample for `mc support top locks`
- Adds `mc idp ldap accesskey` and subcommands
    
Closes #1056
    
- Adds environment variables for most global flags
- Adds --retry flag to mc mirror
- Adds --bucket-bandwidth flag to mc admin replicate update
    
Partially addresses #1045

- Removes unsupported `--noncurrent-transition-newer` flags from
commands.
2023-11-10 14:05:07 -05:00

2.4 KiB

mc support top locks

minio

Table of Contents

mc support top locks

Syntax

The mc support top locks command lists the ten oldest locks <minio-object-locking> on a MinIO deployment.

The command outputs the age of the lock, type of lock, owner, and resource. The output resembles the following:

Since                 Type    Owner                 Resource
13 hours ago          WRITE   10.68.100.18:9000     .minio.sys/leader.lock
13 hours ago          WRITE   10.68.100.18:9000     .minio.sys/callhome/runCallhome.lock
13 hours ago          WRITE   10.68.100.23:9000     .minio.sys/new-drive-healing/0/0

EXAMPLE

The following command displays the current in-progress S3 API calls on the alias myminio.

mc support top locks myminio/

SYNTAX

The command has the following syntax:

mc [GLOBALFLAGS] support top locks  \
                 [--stale]          \ 
                 TARGET

Parameters

TARGET

The full path to the alias <minio-mc-alias> or prefix where the command should run.

--stale

Return only stale locks.

Global Flags

Examples

Display the 10 Oldest Locks on the myminio Deployment

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:

mc support top locks --stale myminio/