mc support top locks

The mc support top locks command lists the ten oldest locks on an AIStor 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

Syntax

Parameters

TARGET

Required

The full path to the alias or prefix where the command should run.

--stale

Optional

Return only stale locks.

Global flags

This command supports any of the global flags.

Examples

Display the 10 oldest locks

The following command outputs the ten oldest locks on the deployment accessible at the alias myaistor.

mc support top locks myaistor/

Display stale locks

The following command displays all in-progress s3.PutObject calls for the myaistor deployment:

mc support top locks --stale myaistor/