mc support profile
SILO behavior: diagnostics run locally without SUBNET registration or automatic uploads. License info/unregister operate on local state; license update retains the explicit-file path. Online registration/renewal and uploads are disabled. Retained upstream syntax below does not enable those services. See mcli compatibility.
Description
mc support profile runs a system profile for your deployment. The results of the profile can provide insight into the MinIO server process running on a given node.
Diagnostic output stays local; SUBNET online services are disabled. Compatibility flags do not enable uploads.
Examples
Fetch CPU Profiling
This command retrieves the CPU profile on a MinIO deployment with the alias minio1. The profile runs for the default of 10 seconds.
Fetch CPU, Memory, and Block Profiling Concurrently
This command fetches the profile of the CPU, memory, and block usage on the alias minio2. The profile runs for the default of 10 seconds.
Fetch CPU, Memory, and Block Profiling Concurrently for 10 Minutes
This command fetches the profile of the CPU, memory, and block on the alias minio3. The profile runs for 10 minutes (600 seconds).
Syntax
The mc support profile command has the following syntax:
Parameters
--duration
mc-cmd
Optional
Run profiling for the specified duration in seconds.
Use --type <value> where <value> is the number of seconds for the profile to run.
If not specified, the command collects data for 10 seconds.
--type
mc-cmd
Optional
Specify the profile(s) to gather data for.
Use --type <value> where <value> is one or more comma-separated types of data to collect.
Valid types are:
cpucpuiomemblockmutextracethreadsgoroutines
If not specified, the command collects data for CPU, memory, block, mutex, threads, and goroutines.
Important
Do not use the cpuio or trace data types unless directed to by MinIO Support. These profiles require significant resources and may degrade cluster performance if used without guidance.
--airgap
mc-cmd
Optional
Diagnostic output stays local; SUBNET online services are disabled. Compatibility flags do not enable uploads.
If the deployment is airgapped, but the local device where you are using the minio client has network access, you do not need to use the --airgap flag.
ALIAS
mc-cmd
Required
The alias of the MinIO deployment.
Global Flags
This command supports any of the global flags.