Skip to content

Implement retrieval of SMART data for MacOS #60

@jamesmarkchan

Description

@jamesmarkchan

Research Mac OS API/Tools for SMART:

  • diskutil: macOS has the diskutil command-line utility, but its SMART reporting capabilities might be limited.
  • smartctl (from smartmontools): This is widely available on macOS (e.g., via Homebrew). This is likely your primary method.
  • IOKit Framework (Lower Level): For more advanced or direct access, you might look into the IOKit framework, but this would likely involve C/Objective-C bindings (e.g., using ctypes), which is more complex.

Choose a Method and Implement:

  • Recommendation: smartctl via subprocess is the most practical choice.
  • Parsing Output: Similar to Windows, parse the smartctl output.

Populate Benchmark Object: Map the retrieved SMART values to the Benchmark object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    macosmacos environment

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions