CLI Reference: debug Command

The debug subcommand is a tool intended for developers and advanced users who are troubleshooting macmon or exploring the underlying macOS metrics systems.

Purpose

This command queries and prints raw, low-level information from various system sources that macmon uses to calculate its final metrics. This includes data from:

  • System Profiler (SPHardwareDataType)
  • AppleARMIODevice for DVFS states (voltage and frequency)
  • IOReport for energy and performance state residency
  • SMC (System Management Controller) for temperature sensors
  • IOHID for other hardware sensors

The output is verbose and technical, and it is not intended for general performance monitoring.

Usage

To run the debug command, execute:

macmon debug

There are no options for this command. It will print the information to standard output and then exit.