mc support profile

mc support profile runs a system profile for your deployment. The results of the profile can provide insight into the Object Store process running on a given node.

The resulting report is intended for use by AIStor Engineering. You can upload the report to SUBNET. Independent or third-party use of these profiles for diagnostics and remediation is done at your own risk.

Syntax

Parameters

--duration

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

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:

  • cpu
  • cpuio
  • mem
  • trace
  • threads
  • goroutines
  • runtime

If not specified, the command collects data for CPU, memory, goroutines, and runtime.

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

Optional

Use in environments without network access to SUBNET (for example, airgapped, firewalled, or similar configuration).

If the deployment is airgapped, but the local device where you are using the AIStor Client has network access, you do not need to use the --airgap flag.

ALIAS

Required

The alias of the AIStor deployment.

Global flags

This command supports any of the global flags.

Examples

Fetch CPU, memory, and block profiling concurrently

This command fetches the profile of the CPU, memory, and block usage on the alias myaistor. The profile runs for the default of 10 seconds.

mc support profile --type cpu,mem,block myaistor/

Fetch CPU, memory, and block profiling concurrently for 10 minutes

This command fetches the profile of the CPU, memory, and block on the alias myaistor. The profile runs for 600 seconds (10 minutes).

mc support profile --type cpu,mem,block --duration 600 myaistor/